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.0008774/0.0008774, allocations: 88.17 kB / 15.7 MB, free: 460 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.0008046/0.0008046, allocations: 175.6 kB / 16.58 MB, free: 6.852 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.235/1.235, allocations: 223.3 MB / 240.6 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6316/0.6316, allocations: 113.7 MB / 405.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002989/0.0002989, allocations: 12 kB / 493.2 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.136, allocations: 77.11 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003068/0.1391, allocations: 2.658 MB / 0.5595 GB, free: 9 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.1413, allocations: 1.59 MB / 0.5611 GB, free: 7.402 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.954e-05/0.1414, allocations: 4 kB / 0.5611 GB, free: 7.398 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001649/0.1416, allocations: 31.72 kB / 0.5611 GB, free: 7.367 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003771/0.142, allocations: 167.3 kB / 0.5612 GB, free: 7.203 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.1424, allocations: 139.7 kB / 0.5614 GB, free: 7.066 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003491/0.1427, allocations: 370.8 kB / 0.5617 GB, free: 6.703 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007739/0.1435, allocations: 0.4957 MB / 0.5622 GB, free: 6.172 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.1437, allocations: 107.5 kB / 0.5623 GB, free: 6.066 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002605/0.1439, allocations: 151.5 kB / 0.5625 GB, free: 5.918 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.144, allocations: 8 kB / 0.5625 GB, free: 5.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002507/0.1442, allocations: 151.8 kB / 0.5626 GB, free: 5.762 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.161e-05/0.1443, allocations: 87.77 kB / 0.5627 GB, free: 5.676 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.122e-05/0.1444, allocations: 65.58 kB / 0.5628 GB, free: 5.605 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003108/0.1447, allocations: 307.2 kB / 0.5631 GB, free: 5.305 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.1447, allocations: 7.984 kB / 0.5631 GB, free: 5.297 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1447, allocations: 0 / 0.5631 GB, free: 5.297 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.1447, allocations: 0 / 0.5631 GB, free: 5.297 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.0007573/0.1455, allocations: 0.5028 MB / 0.5636 GB, free: 4.746 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.1455, allocations: 12.03 kB / 0.5636 GB, free: 4.734 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.723e-05/0.1456, allocations: 58.55 kB / 0.5636 GB, free: 4.668 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006426/0.1462, allocations: 91.61 kB / 0.5637 GB, free: 4.578 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.1465, allocations: 250.6 kB / 0.5639 GB, free: 4.293 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.1466, allocations: 20.44 kB / 0.564 GB, free: 4.273 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.433e-05/0.1466, allocations: 27.94 kB / 0.564 GB, free: 4.246 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005142/0.1472, allocations: 376.9 kB / 0.5644 GB, free: 3.855 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.1472, allocations: 0 / 0.5644 GB, free: 3.855 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.1472, allocations: 11.98 kB / 0.5644 GB, free: 3.844 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.192e-05/0.1473, allocations: 28.41 kB / 0.5644 GB, free: 3.816 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004218/0.1477, allocations: 305.5 kB / 0.5647 GB, free: 3.52 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.1494, allocations: 1.533 MB / 0.5662 GB, free: 1.832 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003797/0.1498, allocations: 226.4 kB / 0.5664 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.1499, allocations: 120.8 kB / 0.5665 GB, free: 1.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/0.15, allocations: 85.11 kB / 0.5666 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.1501, allocations: 38.56 kB / 0.5666 GB, free: 1.332 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.322e-06/0.1501, allocations: 0 / 0.5666 GB, free: 1.332 MB / 430.1 MB Notification: Performance of matching and sorting (n=19): time 0.001146/0.1512, allocations: 0.7871 MB / 0.5674 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.1513, allocations: 55.41 kB / 0.5675 GB, free: 440 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.1515, allocations: 194.5 kB / 0.5676 GB, free: 232 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.1515, allocations: 37.7 kB / 0.5677 GB, free: 188 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.069e-05/0.1516, allocations: 159.8 kB / 0.5678 GB, free: 24 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.548e-05/0.1517, allocations: 71.06 kB / 0.5679 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.577e-05/0.1517, allocations: 4 kB / 0.5679 GB, free: 15.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1518, allocations: 330.8 kB / 0.5682 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.152, allocations: 111.9 kB / 0.5683 GB, free: 15.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.1521, allocations: 170.9 kB / 0.5685 GB, free: 15.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.1523, allocations: 136.3 kB / 0.5686 GB, free: 15.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1524, allocations: 0 / 0.5686 GB, free: 15.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006795/0.153, allocations: 417.9 kB / 0.569 GB, free: 14.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1531, allocations: 4 kB / 0.569 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1531, allocations: 7.938 kB / 0.569 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003544/0.1534, allocations: 100.8 kB / 0.5691 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.1537, allocations: 55.95 kB / 0.5692 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/0.1553, allocations: 1.734 MB / 0.5709 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.1555, allocations: 11.98 kB / 0.5709 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.1556, allocations: 12.19 kB / 0.5709 GB, free: 12.71 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001459/0.1557, allocations: 162.2 kB / 0.571 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.1558, allocations: 15.81 kB / 0.5711 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004746/0.1563, allocations: 311.2 kB / 0.5714 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1563, allocations: 4 kB / 0.5714 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-06/0.1563, allocations: 0 / 0.5714 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1563, allocations: 0 / 0.5714 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008377/0.1571, allocations: 0.6989 MB / 0.572 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1571, allocations: 4.062 kB / 0.572 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000272/0.1574, allocations: 59.89 kB / 0.5721 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1574, allocations: 0 / 0.5721 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.1575, allocations: 8 kB / 0.5721 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.1575, allocations: 3.984 kB / 0.5721 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1575, allocations: 4 kB / 0.5721 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005765/0.1581, allocations: 0.5108 MB / 0.5726 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.1582, allocations: 116.9 kB / 0.5727 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.1582, allocations: 3.938 kB / 0.5727 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.1584, allocations: 15.98 kB / 0.5727 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.1584, allocations: 11.98 kB / 0.5728 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.1584, allocations: 8 kB / 0.5728 GB, free: 10.67 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001217/0.1585, allocations: 144 kB / 0.5729 GB, free: 10.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1586, allocations: 0 / 0.5729 GB, free: 10.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003307/0.1589, allocations: 68.06 kB / 0.573 GB, free: 10.46 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008542/0.1598, allocations: 1.061 MB / 0.574 GB, free: 9.367 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006444/0.1604, allocations: 428.3 kB / 0.5744 GB, free: 8.938 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1604, allocations: 0 / 0.5744 GB, free: 8.938 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.1606, allocations: 119.9 kB / 0.5745 GB, free: 8.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.1609, allocations: 34.7 kB / 0.5746 GB, free: 8.793 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/0.1634, allocations: 1.687 MB / 0.5762 GB, free: 7.035 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.1637, allocations: 0.7755 MB / 0.577 GB, free: 6.234 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001695/0.1639, allocations: 65.83 kB / 0.577 GB, free: 6.172 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.164, allocations: 67.41 kB / 0.5771 GB, free: 6.109 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.164, allocations: 0 / 0.5771 GB, free: 6.109 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01522/0.1792, allocations: 4.649 MB / 0.5816 GB, free: 1.668 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/0.1795, allocations: 223.6 kB / 0.5818 GB, free: 1.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/1.901, allocations: 0 / 0.5818 GB, free: 1.43 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/linux/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) Environment - environmentSimulation: