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.001187/0.001187, allocations: 96.89 kB / 15.69 MB, free: 480 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.00147/0.00147, allocations: 175.5 kB / 16.57 MB, free: 6.855 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.341/1.341, allocations: 223.2 MB / 240.5 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7066/0.7066, allocations: 113.7 MB / 405.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.000328, allocations: 12 kB / 493 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1752, allocations: 77.11 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003981/0.1792, allocations: 2.603 MB / 0.5593 GB, free: 9.07 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002922/0.1822, allocations: 1.575 MB / 0.5608 GB, free: 7.488 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.1824, allocations: 7.938 kB / 0.5608 GB, free: 7.48 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001853/0.1826, allocations: 35.77 kB / 0.5609 GB, free: 7.445 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000448/0.183, allocations: 139.6 kB / 0.561 GB, free: 7.309 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004344/0.1835, allocations: 147.5 kB / 0.5611 GB, free: 7.164 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000273/0.1837, allocations: 175.6 kB / 0.5613 GB, free: 6.992 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008791/0.1846, allocations: 495.6 kB / 0.5618 GB, free: 6.473 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.1848, allocations: 95.67 kB / 0.5619 GB, free: 6.379 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/0.1851, allocations: 107.6 kB / 0.562 GB, free: 6.273 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.1851, allocations: 8 kB / 0.562 GB, free: 6.266 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002671/0.1854, allocations: 131.8 kB / 0.5621 GB, free: 6.137 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.066e-05/0.1855, allocations: 83.78 kB / 0.5622 GB, free: 6.055 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.433e-05/0.1855, allocations: 69.58 kB / 0.5622 GB, free: 5.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000332/0.1859, allocations: 315.2 kB / 0.5625 GB, free: 5.672 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1859, allocations: 0 / 0.5625 GB, free: 5.672 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1859, allocations: 0 / 0.5625 GB, free: 5.672 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.1859, allocations: 0 / 0.5625 GB, free: 5.672 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.000789/0.1867, allocations: 0.5028 MB / 0.563 GB, free: 5.121 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.1868, allocations: 8.031 kB / 0.563 GB, free: 5.113 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.671e-05/0.1868, allocations: 66.53 kB / 0.5631 GB, free: 5.039 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007134/0.1875, allocations: 99.61 kB / 0.5632 GB, free: 4.941 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.1879, allocations: 250.6 kB / 0.5634 GB, free: 4.656 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.1879, allocations: 20.36 kB / 0.5635 GB, free: 4.637 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.323e-05/0.188, allocations: 27.95 kB / 0.5635 GB, free: 4.609 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005326/0.1885, allocations: 369 kB / 0.5638 GB, free: 4.227 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.1886, allocations: 7.938 kB / 0.5638 GB, free: 4.219 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.792e-05/0.1886, allocations: 8 kB / 0.5639 GB, free: 4.211 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.391e-05/0.1887, allocations: 32.36 kB / 0.5639 GB, free: 4.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004363/0.1891, allocations: 305.5 kB / 0.5642 GB, free: 3.883 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.1908, allocations: 1.525 MB / 0.5657 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003795/0.1912, allocations: 230.4 kB / 0.5659 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001268/0.1914, allocations: 89.06 kB / 0.566 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.1914, allocations: 34.56 kB / 0.566 GB, free: 1.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.1914, allocations: 0 / 0.566 GB, free: 1.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=19): time 0.001145/0.1925, allocations: 0.7986 MB / 0.5668 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.1926, allocations: 51.41 kB / 0.5668 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.1928, allocations: 198.6 kB / 0.567 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.1928, allocations: 25.7 kB / 0.567 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.917e-05/0.1929, allocations: 159.8 kB / 0.5672 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.384e-05/0.193, allocations: 71.08 kB / 0.5673 GB, free: 452 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.445e-05/0.193, allocations: 7.938 kB / 0.5673 GB, free: 444 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1931, allocations: 326.8 kB / 0.5676 GB, free: 108 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.1933, allocations: 116 kB / 0.5677 GB, free: 15.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.1935, allocations: 174.9 kB / 0.5679 GB, free: 15.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.1937, allocations: 131.9 kB / 0.568 GB, free: 15.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1937, allocations: 0 / 0.568 GB, free: 15.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007266/0.1945, allocations: 421.8 kB / 0.5684 GB, free: 15.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.1945, allocations: 4 kB / 0.5684 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.1945, allocations: 4 kB / 0.5684 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004215/0.1949, allocations: 96.95 kB / 0.5685 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/0.1952, allocations: 55.89 kB / 0.5685 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001958/0.1972, allocations: 1.761 MB / 0.5703 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.1974, allocations: 16.02 kB / 0.5703 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.1974, allocations: 16.06 kB / 0.5703 GB, free: 13.16 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.0002115/0.1976, allocations: 158.2 kB / 0.5704 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/0.1977, allocations: 15.81 kB / 0.5705 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005103/0.1982, allocations: 308.9 kB / 0.5708 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1982, allocations: 4 kB / 0.5708 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.1982, allocations: 4 kB / 0.5708 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.1982, allocations: 0 / 0.5708 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009727/0.1992, allocations: 0.7009 MB / 0.5714 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1992, allocations: 0 / 0.5714 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002818/0.1995, allocations: 55.95 kB / 0.5715 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1995, allocations: 0 / 0.5715 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.1996, allocations: 11.98 kB / 0.5715 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1996, allocations: 4.25 kB / 0.5715 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1996, allocations: 4.062 kB / 0.5715 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005804/0.2002, allocations: 0.5279 MB / 0.572 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.2003, allocations: 120.9 kB / 0.5721 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.2003, allocations: 7.938 kB / 0.5722 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.2005, allocations: 16.05 kB / 0.5722 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.2006, allocations: 15.94 kB / 0.5722 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.2006, allocations: 11.94 kB / 0.5722 GB, free: 11.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001327/0.2007, allocations: 144 kB / 0.5723 GB, free: 10.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2007, allocations: 0 / 0.5723 GB, free: 10.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003671/0.2011, allocations: 68 kB / 0.5724 GB, free: 10.88 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.0009502/0.2021, allocations: 1.219 MB / 0.5736 GB, free: 9.617 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006637/0.2027, allocations: 418.8 kB / 0.574 GB, free: 9.195 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.2027, allocations: 0 / 0.574 GB, free: 9.195 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.2029, allocations: 127.7 kB / 0.5741 GB, free: 9.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.2032, allocations: 26.52 kB / 0.5741 GB, free: 9.047 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/0.2058, allocations: 2.599 MB / 0.5767 GB, free: 6.371 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.2062, allocations: 0.7833 MB / 0.5774 GB, free: 5.562 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000162/0.2064, allocations: 61.91 kB / 0.5775 GB, free: 5.504 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.2065, allocations: 71.41 kB / 0.5776 GB, free: 5.438 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2065, allocations: 0 / 0.5776 GB, free: 5.438 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01591/0.2224, allocations: 4.632 MB / 0.5821 GB, free: 1.012 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002586/0.2227, allocations: 213.1 kB / 0.5823 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/1.884, allocations: 3.938 kB / 0.5823 GB, free: 0.7695 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: