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.00114/0.00114, 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.001112/0.001112, allocations: 210.2 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.225/1.225, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6396/0.6396, allocations: 115.3 MB / 406 MB, free: 2.801 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 68.42 kB / 493 MB, free: 6.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1259, allocations: 76.18 MB / 0.5559 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003674/0.1296, allocations: 2.466 MB / 0.5583 GB, free: 8.285 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.1317, allocations: 1.422 MB / 0.5597 GB, free: 6.855 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.1319, allocations: 7.938 kB / 0.5597 GB, free: 6.848 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005677/0.1325, allocations: 154.8 kB / 0.5598 GB, free: 6.699 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003015/0.1328, allocations: 131.5 kB / 0.5599 GB, free: 6.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004123/0.1332, allocations: 159.7 kB / 0.5601 GB, free: 6.414 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003163/0.1335, allocations: 319.1 kB / 0.5604 GB, free: 6.102 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002848/0.1338, allocations: 121.3 kB / 0.5605 GB, free: 5.984 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.134, allocations: 71.7 kB / 0.5606 GB, free: 5.914 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.1342, allocations: 111.6 kB / 0.5607 GB, free: 5.805 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.1342, allocations: 8 kB / 0.5607 GB, free: 5.797 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003416/0.1346, allocations: 223.5 kB / 0.5609 GB, free: 5.578 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.687e-05/0.1347, allocations: 59.88 kB / 0.561 GB, free: 5.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.523e-05/0.1348, allocations: 79.53 kB / 0.561 GB, free: 5.441 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003705/0.1351, allocations: 295 kB / 0.5613 GB, free: 5.152 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1351, allocations: 3.938 kB / 0.5613 GB, free: 5.148 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.1352, allocations: 4 kB / 0.5613 GB, free: 5.145 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1352, allocations: 0 / 0.5613 GB, free: 5.145 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.0006544/0.1358, allocations: 475.1 kB / 0.5618 GB, free: 4.629 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.1359, allocations: 12.03 kB / 0.5618 GB, free: 4.617 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.088e-05/0.1359, allocations: 50.73 kB / 0.5618 GB, free: 4.559 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005014/0.1364, allocations: 64.67 kB / 0.5619 GB, free: 4.496 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.1367, allocations: 226.1 kB / 0.5621 GB, free: 4.238 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.1367, allocations: 8.656 kB / 0.5621 GB, free: 4.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.669e-05/0.1367, allocations: 20.36 kB / 0.5621 GB, free: 4.211 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003834/0.1371, allocations: 279.4 kB / 0.5624 GB, free: 3.906 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1371, allocations: 4 kB / 0.5624 GB, free: 3.902 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.1372, allocations: 4 kB / 0.5624 GB, free: 3.898 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.309e-05/0.1372, allocations: 20.23 kB / 0.5624 GB, free: 3.875 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003123/0.1375, allocations: 212.4 kB / 0.5626 GB, free: 3.668 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.1391, allocations: 1.576 MB / 0.5642 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003719/0.1395, allocations: 315.3 kB / 0.5645 GB, free: 1.594 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.046e-05/0.1396, allocations: 65.67 kB / 0.5645 GB, free: 1.523 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.1396, allocations: 4.156 kB / 0.5645 GB, free: 1.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.1396, allocations: 42.55 kB / 0.5646 GB, free: 1.469 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.1396, allocations: 0 / 0.5646 GB, free: 1.469 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005026/0.1401, allocations: 244.5 kB / 0.5648 GB, free: 1.223 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.1402, allocations: 77.11 kB / 0.5649 GB, free: 1.129 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.1404, allocations: 199.4 kB / 0.5651 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.1404, allocations: 25.7 kB / 0.5651 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.593e-05/0.1405, allocations: 155.7 kB / 0.5653 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.1405, allocations: 43.56 kB / 0.5653 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-05/0.1406, allocations: 49.7 kB / 0.5653 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.98e-05/0.1407, allocations: 326.8 kB / 0.5657 GB, free: 320 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.1408, allocations: 76.75 kB / 0.5657 GB, free: 240 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.141, allocations: 152.6 kB / 0.5659 GB, free: 48 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.1412, allocations: 232 kB / 0.5661 GB, free: 15.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1413, allocations: 4 kB / 0.5661 GB, free: 15.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003667/0.1416, allocations: 266.4 kB / 0.5664 GB, free: 15.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.1417, allocations: 7.984 kB / 0.5664 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.1417, allocations: 4 kB / 0.5664 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1417, allocations: 7.938 kB / 0.5664 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.1419, allocations: 51.91 kB / 0.5664 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.1419, allocations: 4.375 kB / 0.5664 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.1421, allocations: 19.98 kB / 0.5664 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.1421, allocations: 8 kB / 0.5665 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001498/0.1423, allocations: 168 kB / 0.5666 GB, free: 15.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001338/0.1424, allocations: 141.1 kB / 0.5667 GB, free: 15.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000218/0.1426, allocations: 213.2 kB / 0.5669 GB, free: 14.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.166e-06/0.1426, allocations: 480 / 0.567 GB, free: 14.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003227/0.143, allocations: 249 kB / 0.5672 GB, free: 14.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.905e-06/0.143, allocations: 4 kB / 0.5672 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.143, allocations: 4 kB / 0.5672 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.649e-06/0.143, allocations: 4 kB / 0.5672 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.1431, allocations: 51.84 kB / 0.5672 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.1432, allocations: 12.33 kB / 0.5673 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.1433, allocations: 19.98 kB / 0.5673 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.1433, allocations: 8.125 kB / 0.5673 GB, free: 14.46 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 9.972e-05/0.1434, allocations: 196.1 kB / 0.5675 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.397e-05/0.1435, allocations: 15.81 kB / 0.5675 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.1437, allocations: 151 kB / 0.5676 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.1437, allocations: 0 / 0.5676 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1437, allocations: 0 / 0.5676 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1437, allocations: 4.047 kB / 0.5676 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008546/0.1446, allocations: 0.7237 MB / 0.5683 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.1446, allocations: 4 kB / 0.5683 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.1447, allocations: 31.92 kB / 0.5684 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.1447, allocations: 4 kB / 0.5684 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.1448, allocations: 0 / 0.5684 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.1448, allocations: 4 kB / 0.5684 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.1448, allocations: 7.938 kB / 0.5684 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.1451, allocations: 382.3 kB / 0.5688 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.918e-05/0.1452, allocations: 104.9 kB / 0.5689 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/0.1452, allocations: 8 kB / 0.5689 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.1454, allocations: 7.984 kB / 0.5689 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.517e-05/0.1454, allocations: 11.94 kB / 0.5689 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.126e-06/0.1454, allocations: 8 kB / 0.5689 GB, free: 12.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.1455, allocations: 153.1 kB / 0.569 GB, free: 12.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1455, allocations: 4 kB / 0.569 GB, free: 12.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004723/0.146, allocations: 68 kB / 0.5691 GB, free: 12.44 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.0005418/0.1466, allocations: 0.9185 MB / 0.57 GB, free: 11.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003734/0.1469, allocations: 259.6 kB / 0.5703 GB, free: 11.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.147, allocations: 4 kB / 0.5703 GB, free: 11.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.867e-05/0.147, allocations: 62.03 kB / 0.5703 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004583/0.1475, allocations: 39.97 kB / 0.5704 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.1498, allocations: 2.377 MB / 0.5727 GB, free: 8.531 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.1501, allocations: 0.7441 MB / 0.5734 GB, free: 7.762 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001855/0.1503, allocations: 69.47 kB / 0.5735 GB, free: 7.695 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.947e-05/0.1503, allocations: 43.42 kB / 0.5735 GB, free: 7.652 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1503, allocations: 0 / 0.5735 GB, free: 7.652 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01208/0.1624, allocations: 3.319 MB / 0.5767 GB, free: 4.469 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002228/0.1627, allocations: 229.1 kB / 0.577 GB, free: 4.207 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/1.764, allocations: 0 / 0.577 GB, free: 4.207 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)