Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 208.4 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.205/1.205, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6194/0.6194, allocations: 115.3 MB / 405.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 63.53 kB / 493 MB, free: 6.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1263, allocations: 76.19 MB / 0.5559 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004195/0.1305, allocations: 3.111 MB / 0.5589 GB, free: 7.605 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002358/0.1329, allocations: 1.734 MB / 0.5606 GB, free: 5.863 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.133, allocations: 0 / 0.5606 GB, free: 5.863 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008361/0.1339, allocations: 311 kB / 0.5609 GB, free: 5.559 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004172/0.1343, allocations: 199.3 kB / 0.5611 GB, free: 5.363 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003989/0.1347, allocations: 155.7 kB / 0.5612 GB, free: 5.211 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004193/0.1351, allocations: 474.7 kB / 0.5617 GB, free: 4.746 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003929/0.1355, allocations: 236.8 kB / 0.5619 GB, free: 4.516 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.1357, allocations: 115.6 kB / 0.562 GB, free: 4.402 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002988/0.136, allocations: 171.4 kB / 0.5622 GB, free: 4.234 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.308e-05/0.1361, allocations: 12 kB / 0.5622 GB, free: 4.223 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004345/0.1365, allocations: 299.4 kB / 0.5625 GB, free: 3.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.1366, allocations: 91.77 kB / 0.5626 GB, free: 3.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.1368, allocations: 115.4 kB / 0.5627 GB, free: 3.727 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000468/0.1372, allocations: 430.7 kB / 0.5631 GB, free: 3.305 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.1372, allocations: 0 / 0.5631 GB, free: 3.305 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1372, allocations: 4 kB / 0.5631 GB, free: 3.301 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1373, allocations: 0 / 0.5631 GB, free: 3.301 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.000894/0.1382, allocations: 0.5497 MB / 0.5636 GB, free: 2.703 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1382, allocations: 8.031 kB / 0.5636 GB, free: 2.695 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.567e-05/0.1383, allocations: 58.72 kB / 0.5637 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006877/0.139, allocations: 96.53 kB / 0.5638 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.1393, allocations: 249.9 kB / 0.564 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.1393, allocations: 16.81 kB / 0.564 GB, free: 2.238 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.95e-05/0.1394, allocations: 36.39 kB / 0.5641 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000527/0.1399, allocations: 372.9 kB / 0.5644 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1399, allocations: 0 / 0.5644 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.057e-05/0.14, allocations: 12 kB / 0.5644 GB, free: 1.805 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.684e-05/0.1401, allocations: 28.42 kB / 0.5645 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004479/0.1405, allocations: 313.4 kB / 0.5648 GB, free: 1.473 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.1422, allocations: 1.533 MB / 0.5663 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003942/0.1426, allocations: 234.4 kB / 0.5665 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.1427, allocations: 116.8 kB / 0.5666 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/0.1429, allocations: 89.09 kB / 0.5667 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.1429, allocations: 38.5 kB / 0.5667 GB, free: 15.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.323e-06/0.1429, allocations: 4 kB / 0.5667 GB, free: 15.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001131/0.144, allocations: 0.7851 MB / 0.5675 GB, free: 14.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.1441, allocations: 63.36 kB / 0.5675 GB, free: 14.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.1443, allocations: 190.6 kB / 0.5677 GB, free: 14.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.1443, allocations: 25.7 kB / 0.5678 GB, free: 14.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.122e-05/0.1444, allocations: 159.9 kB / 0.5679 GB, free: 13.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.989e-05/0.1444, allocations: 71.02 kB / 0.568 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-05/0.1445, allocations: 61.53 kB / 0.568 GB, free: 13.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.773e-05/0.1446, allocations: 330.8 kB / 0.5683 GB, free: 13.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.1448, allocations: 111.9 kB / 0.5685 GB, free: 13.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.145, allocations: 178.9 kB / 0.5686 GB, free: 13.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003576/0.1454, allocations: 292.4 kB / 0.5689 GB, free: 12.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1454, allocations: 4 kB / 0.5689 GB, free: 12.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007107/0.1461, allocations: 417.1 kB / 0.5693 GB, free: 12.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1461, allocations: 4 kB / 0.5693 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.1461, allocations: 8.188 kB / 0.5693 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003814/0.1465, allocations: 96.77 kB / 0.5694 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.1468, allocations: 51.89 kB / 0.5695 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/0.1484, allocations: 1.73 MB / 0.5711 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.1487, allocations: 24.05 kB / 0.5712 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.1487, allocations: 8 kB / 0.5712 GB, free: 10.42 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001351/0.1488, allocations: 165.6 kB / 0.5713 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.378e-05/0.1489, allocations: 19.72 kB / 0.5714 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004314/0.1493, allocations: 293.1 kB / 0.5716 GB, free: 9.945 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1493, allocations: 4 kB / 0.5716 GB, free: 9.941 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.1493, allocations: 0 / 0.5716 GB, free: 9.941 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1493, allocations: 0 / 0.5716 GB, free: 9.941 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008024/0.1502, allocations: 0.7106 MB / 0.5723 GB, free: 9.168 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1502, allocations: 0 / 0.5723 GB, free: 9.168 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002831/0.1505, allocations: 51.95 kB / 0.5724 GB, free: 9.117 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.1505, allocations: 4 kB / 0.5724 GB, free: 9.113 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.1505, allocations: 12.05 kB / 0.5724 GB, free: 9.102 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1505, allocations: 4 kB / 0.5724 GB, free: 9.098 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1505, allocations: 3.938 kB / 0.5724 GB, free: 9.094 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005661/0.1511, allocations: 0.5112 MB / 0.5729 GB, free: 8.562 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.094e-05/0.1512, allocations: 116.9 kB / 0.573 GB, free: 8.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.1512, allocations: 3.938 kB / 0.573 GB, free: 8.426 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.1514, allocations: 23.98 kB / 0.573 GB, free: 8.402 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.1514, allocations: 11.98 kB / 0.5731 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.1515, allocations: 11.94 kB / 0.5731 GB, free: 8.379 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.1516, allocations: 140.1 kB / 0.5732 GB, free: 8.238 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1516, allocations: 0 / 0.5732 GB, free: 8.238 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000327/0.1519, allocations: 68 kB / 0.5733 GB, free: 8.172 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008254/0.1527, allocations: 1.067 MB / 0.5743 GB, free: 7.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006282/0.1534, allocations: 422.6 kB / 0.5747 GB, free: 6.645 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/0.1534, allocations: 4 kB / 0.5747 GB, free: 6.641 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.1536, allocations: 123.8 kB / 0.5748 GB, free: 6.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.1539, allocations: 27.98 kB / 0.5749 GB, free: 6.492 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003523/0.1574, allocations: 2.976 MB / 0.5778 GB, free: 3.387 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.1578, allocations: 0.7675 MB / 0.5785 GB, free: 2.594 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001707/0.1579, allocations: 61.89 kB / 0.5786 GB, free: 2.535 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.1581, allocations: 75.41 kB / 0.5786 GB, free: 2.461 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1581, allocations: 0 / 0.5786 GB, free: 2.461 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2111/0.3692, allocations: 4.78 MB / 0.5833 GB, free: 31.89 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001313/0.3693, allocations: 236.3 kB / 0.5835 GB, free: 31.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/2.063, allocations: 4.188 kB / 0.5835 GB, free: 31.64 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)