Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.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.DC.Sources.Examples.VoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource",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.0006878/0.0006878, 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.0007061/0.0007061, allocations: 177.2 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.234/1.234, allocations: 223.3 MB / 240.6 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6293/0.6293, allocations: 113.7 MB / 405.4 MB, free: 4.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003396, allocations: 13.62 kB / 493.2 MB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1321, allocations: 77.11 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.003207/0.1354, allocations: 2.775 MB / 0.5596 GB, free: 8.895 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.137, allocations: 1.263 MB / 0.5608 GB, free: 7.625 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.711e-05/0.1371, allocations: 8 kB / 0.5608 GB, free: 7.617 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.1373, allocations: 47.64 kB / 0.5609 GB, free: 7.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002769/0.1376, allocations: 115.4 kB / 0.561 GB, free: 7.457 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.1378, allocations: 99.75 kB / 0.5611 GB, free: 7.359 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003377/0.1382, allocations: 374.8 kB / 0.5615 GB, free: 6.992 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002633/0.1385, allocations: 219.3 kB / 0.5617 GB, free: 6.758 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.1386, allocations: 111.5 kB / 0.5618 GB, free: 6.648 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002294/0.1388, allocations: 139.4 kB / 0.5619 GB, free: 6.512 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.696e-05/0.1389, allocations: 12 kB / 0.5619 GB, free: 6.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.1391, allocations: 87.88 kB / 0.562 GB, free: 6.414 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.083e-05/0.1391, allocations: 71.8 kB / 0.5621 GB, free: 6.344 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.902e-05/0.1392, allocations: 65.58 kB / 0.5621 GB, free: 6.273 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.1395, allocations: 267.5 kB / 0.5624 GB, free: 6.012 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1395, allocations: 0 / 0.5624 GB, free: 6.012 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1395, allocations: 0 / 0.5624 GB, free: 6.012 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.1395, allocations: 4 kB / 0.5624 GB, free: 6.008 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.000638/0.1401, allocations: 0.5028 MB / 0.5629 GB, free: 5.457 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1402, allocations: 12.03 kB / 0.5629 GB, free: 5.445 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.347e-05/0.1402, allocations: 54.55 kB / 0.5629 GB, free: 5.383 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000489/0.1407, allocations: 83.55 kB / 0.563 GB, free: 5.301 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.141, allocations: 249.5 kB / 0.5633 GB, free: 5.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.141, allocations: 12.44 kB / 0.5633 GB, free: 5.008 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.1411, allocations: 20 kB / 0.5633 GB, free: 4.988 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004448/0.1415, allocations: 324.2 kB / 0.5636 GB, free: 4.648 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1415, allocations: 3.984 kB / 0.5636 GB, free: 4.645 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.1416, allocations: 12 kB / 0.5636 GB, free: 4.633 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.046e-05/0.1416, allocations: 16.42 kB / 0.5636 GB, free: 4.617 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003357/0.1419, allocations: 217.6 kB / 0.5638 GB, free: 4.398 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.1433, allocations: 1.49 MB / 0.5653 GB, free: 2.742 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/0.1437, allocations: 211.6 kB / 0.5655 GB, free: 2.508 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.534e-05/0.1438, allocations: 52.83 kB / 0.5655 GB, free: 2.453 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.1438, allocations: 4 kB / 0.5656 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.1438, allocations: 30.56 kB / 0.5656 GB, free: 2.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.153e-06/0.1438, allocations: 0 / 0.5656 GB, free: 2.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004941/0.1443, allocations: 271.3 kB / 0.5658 GB, free: 2.117 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.1444, allocations: 51.41 kB / 0.5659 GB, free: 2.055 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.1445, allocations: 212.3 kB / 0.5661 GB, free: 1.836 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.1446, allocations: 25.7 kB / 0.5661 GB, free: 1.805 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.845e-05/0.1447, allocations: 175.7 kB / 0.5663 GB, free: 1.629 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.1447, allocations: 35.53 kB / 0.5663 GB, free: 1.594 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-06/0.1447, allocations: 4 kB / 0.5663 GB, free: 1.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1448, allocations: 326.8 kB / 0.5666 GB, free: 1.262 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.943e-05/0.1449, allocations: 47.92 kB / 0.5667 GB, free: 1.215 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.1451, allocations: 114.4 kB / 0.5668 GB, free: 1.074 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.1452, allocations: 59.97 kB / 0.5668 GB, free: 1.016 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.1452, allocations: 4 kB / 0.5668 GB, free: 1.012 MB / 430.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003375/0.1455, allocations: 222 kB / 0.5671 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.1455, allocations: 4 kB / 0.5671 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1456, allocations: 4 kB / 0.5671 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001343/0.1457, allocations: 29.12 kB / 0.5671 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.1458, allocations: 35.92 kB / 0.5671 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009242/0.1468, allocations: 1.327 MB / 0.5684 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.1469, allocations: 23.69 kB / 0.5684 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.1469, allocations: 12 kB / 0.5685 GB, free: 15.21 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001219/0.147, allocations: 141.8 kB / 0.5686 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.583e-05/0.1471, allocations: 19.8 kB / 0.5686 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.904e-05/0.1471, allocations: 25.5 kB / 0.5686 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.1471, allocations: 4 kB / 0.5686 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1472, allocations: 3.953 kB / 0.5686 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1472, allocations: 4 kB / 0.5686 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005347/0.1477, allocations: 483.2 kB / 0.5691 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1477, allocations: 0 / 0.5691 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.307e-05/0.1478, allocations: 19.95 kB / 0.5691 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.72e-05/0.1479, allocations: 24.84 kB / 0.5692 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.1479, allocations: 0 / 0.5692 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008103/0.1487, allocations: 1.327 MB / 0.5704 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1487, allocations: 0 / 0.5704 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.149, allocations: 240.3 kB / 0.5707 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.596e-05/0.149, allocations: 100.8 kB / 0.5708 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.1491, allocations: 4 kB / 0.5708 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.1492, allocations: 8 kB / 0.5708 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/0.1492, allocations: 7.984 kB / 0.5708 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.1492, allocations: 0 / 0.5708 GB, free: 12.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001062/0.1493, allocations: 145.5 kB / 0.5709 GB, free: 12.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1494, allocations: 0 / 0.5709 GB, free: 12.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002917/0.1496, allocations: 63.75 kB / 0.571 GB, free: 12.38 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004646/0.1501, allocations: 0.7684 MB / 0.5717 GB, free: 11.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000367/0.1505, allocations: 242.5 kB / 0.572 GB, free: 11.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1505, allocations: 288 / 0.572 GB, free: 11.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.1507, allocations: 163.2 kB / 0.5721 GB, free: 11.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.151, allocations: 40.69 kB / 0.5722 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.1524, allocations: 1.148 MB / 0.5733 GB, free: 9.895 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.1527, allocations: 0.7557 MB / 0.574 GB, free: 9.109 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.317e-05/0.1528, allocations: 25.53 kB / 0.5741 GB, free: 9.086 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.428e-05/0.1529, allocations: 59.42 kB / 0.5741 GB, free: 9.027 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1529, allocations: 0 / 0.5741 GB, free: 9.027 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01377/0.1667, allocations: 3.612 MB / 0.5776 GB, free: 5.613 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001532/0.1668, allocations: 214.2 kB / 0.5778 GB, free: 5.367 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/1.738, allocations: 0 / 0.5778 GB, free: 5.367 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource.fmu > IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) Environment - environmentSimulation: