Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",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.0008662/0.0008661, allocations: 93.73 kB / 16.02 MB, free: 84 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.0009045/0.0009045, allocations: 186.2 kB / 16.92 MB, free: 6.891 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.304/1.304, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6746/0.6746, allocations: 115.5 MB / 407.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002957/0.0002957, allocations: 8.281 kB / 496 MB, free: 6.277 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1317, allocations: 77.54 MB / 0.5601 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.002569/0.1343, allocations: 2.108 MB / 0.5621 GB, free: 6.824 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002271/0.1366, allocations: 1.391 MB / 0.5635 GB, free: 5.426 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002112/0.1369, allocations: 3.938 kB / 0.5635 GB, free: 5.422 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001944/0.1371, allocations: 19.86 kB / 0.5635 GB, free: 5.402 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005121/0.1376, allocations: 131.5 kB / 0.5636 GB, free: 5.273 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000585/0.1382, allocations: 163.7 kB / 0.5638 GB, free: 5.113 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003772/0.1386, allocations: 319.1 kB / 0.5641 GB, free: 4.801 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005822/0.1392, allocations: 238.3 kB / 0.5643 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.1394, allocations: 71.7 kB / 0.5644 GB, free: 4.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002571/0.1396, allocations: 103.6 kB / 0.5645 GB, free: 4.379 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.1397, allocations: 4 kB / 0.5645 GB, free: 4.375 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003685/0.14, allocations: 219.5 kB / 0.5647 GB, free: 4.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.291e-05/0.1401, allocations: 59.86 kB / 0.5648 GB, free: 4.102 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.1402, allocations: 93.31 kB / 0.5648 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004255/0.1407, allocations: 295 kB / 0.5651 GB, free: 3.715 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1407, allocations: 0 / 0.5651 GB, free: 3.715 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1407, allocations: 0 / 0.5651 GB, free: 3.715 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1407, allocations: 0 / 0.5651 GB, free: 3.715 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007105/0.1414, allocations: 447.2 kB / 0.5655 GB, free: 3.227 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.1415, allocations: 12.03 kB / 0.5656 GB, free: 3.215 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.907e-05/0.1416, allocations: 46.73 kB / 0.5656 GB, free: 3.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005959/0.1422, allocations: 64.58 kB / 0.5657 GB, free: 3.098 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.1424, allocations: 224.1 kB / 0.5659 GB, free: 2.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.1425, allocations: 16.64 kB / 0.5659 GB, free: 2.824 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.1425, allocations: 16.38 kB / 0.5659 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004631/0.143, allocations: 275.4 kB / 0.5662 GB, free: 2.504 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.143, allocations: 8 kB / 0.5662 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.143, allocations: 7.984 kB / 0.5662 GB, free: 2.488 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.696e-05/0.1431, allocations: 20.22 kB / 0.5662 GB, free: 2.465 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003689/0.1435, allocations: 208.5 kB / 0.5664 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001727/0.1452, allocations: 1.576 MB / 0.5679 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/0.1456, allocations: 319.2 kB / 0.5683 GB, free: 188 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.886e-05/0.1457, allocations: 65.69 kB / 0.5683 GB, free: 116 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.1457, allocations: 7.984 kB / 0.5683 GB, free: 108 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.1457, allocations: 30.56 kB / 0.5683 GB, free: 68 kB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.1457, allocations: 0 / 0.5683 GB, free: 68 kB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004926/0.1462, allocations: 248.5 kB / 0.5686 GB, free: 15.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.1463, allocations: 77.11 kB / 0.5687 GB, free: 15.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.1464, allocations: 195.5 kB / 0.5688 GB, free: 15.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.1465, allocations: 37.81 kB / 0.5689 GB, free: 15.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.086e-05/0.1465, allocations: 159.7 kB / 0.569 GB, free: 15.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.1466, allocations: 35.5 kB / 0.5691 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.1466, allocations: 25.64 kB / 0.5691 GB, free: 15.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.654e-05/0.1467, allocations: 326.8 kB / 0.5694 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.781e-05/0.1468, allocations: 71.89 kB / 0.5695 GB, free: 14.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.147, allocations: 156.6 kB / 0.5696 GB, free: 14.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.1472, allocations: 230.2 kB / 0.5698 GB, free: 14.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1472, allocations: 4 kB / 0.5698 GB, free: 14.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000339/0.1476, allocations: 249.2 kB / 0.5701 GB, free: 14.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.96e-05/0.1477, allocations: 189.4 kB / 0.5703 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1477, allocations: 7.938 kB / 0.5703 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1477, allocations: 4 kB / 0.5703 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.1479, allocations: 55.91 kB / 0.5703 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.1479, allocations: 4 kB / 0.5703 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.1481, allocations: 11.98 kB / 0.5703 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.1481, allocations: 15.98 kB / 0.5704 GB, free: 13.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.159e-06/0.1481, allocations: 4 kB / 0.5704 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002594/0.1484, allocations: 191.6 kB / 0.5705 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1484, allocations: 4 kB / 0.5706 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.899e-06/0.1484, allocations: 4 kB / 0.5706 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.1486, allocations: 51.91 kB / 0.5706 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.1486, allocations: 4 kB / 0.5706 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.1487, allocations: 20.42 kB / 0.5706 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.1487, allocations: 12 kB / 0.5706 GB, free: 13.54 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001247/0.1488, allocations: 221 kB / 0.5708 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.158e-05/0.1489, allocations: 15.81 kB / 0.5709 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002175/0.1491, allocations: 147 kB / 0.571 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1491, allocations: 0 / 0.571 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.1491, allocations: 3.938 kB / 0.571 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1491, allocations: 4 kB / 0.571 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008048/0.15, allocations: 0.7237 MB / 0.5717 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.15, allocations: 12.02 kB / 0.5717 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.57e-05/0.1501, allocations: 23.98 kB / 0.5718 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1501, allocations: 0 / 0.5718 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.1501, allocations: 8 kB / 0.5718 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.1501, allocations: 7.938 kB / 0.5718 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1501, allocations: 4 kB / 0.5718 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.1504, allocations: 370.3 kB / 0.5721 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.317e-05/0.1505, allocations: 112.9 kB / 0.5722 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.1505, allocations: 4 kB / 0.5722 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.1507, allocations: 11.98 kB / 0.5722 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.1507, allocations: 11.88 kB / 0.5723 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.1507, allocations: 12 kB / 0.5723 GB, free: 11.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001069/0.1508, allocations: 153.1 kB / 0.5724 GB, free: 11.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1508, allocations: 0 / 0.5724 GB, free: 11.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004473/0.1513, allocations: 68 kB / 0.5725 GB, free: 11.49 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 simulation (11): * Single equations (assignments): 11 * 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.0005072/0.1518, allocations: 0.9159 MB / 0.5734 GB, free: 10.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003398/0.1522, allocations: 265.1 kB / 0.5736 GB, free: 10.26 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1522, allocations: 3.938 kB / 0.5736 GB, free: 10.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.354e-05/0.1522, allocations: 61.41 kB / 0.5737 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/0.1527, allocations: 36.34 kB / 0.5737 GB, free: 10.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/0.1548, allocations: 2.387 MB / 0.5761 GB, free: 7.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.1551, allocations: 0.7363 MB / 0.5768 GB, free: 6.809 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001788/0.1553, allocations: 73.47 kB / 0.5768 GB, free: 6.738 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.366e-05/0.1553, allocations: 43.42 kB / 0.5769 GB, free: 6.695 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1553, allocations: 0 / 0.5769 GB, free: 6.695 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2362/0.3916, allocations: 3.249 MB / 0.5801 GB, free: 3.609 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/0.3918, allocations: 219.2 kB / 0.5803 GB, free: 3.352 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/1.953, allocations: 2.25 kB / 0.5803 GB, free: 3.352 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)