Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.Loads.Examples.DynamicLoads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",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.0007848/0.0007887, allocations: 98.58 kB / 16.02 MB, free: 80 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.0007825/0.0007824, allocations: 182 kB / 16.92 MB, free: 6.773 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.241/1.241, allocations: 223.3 MB / 241 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6404/0.6404, allocations: 115.5 MB / 407.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002899/0.0002899, allocations: 8 kB / 496 MB, free: 6.242 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.137, allocations: 77.53 MB / 0.5601 GB, free: 8.914 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003567/0.1406, allocations: 2.922 MB / 0.5629 GB, free: 5.977 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00283/0.1434, allocations: 1.835 MB / 0.5647 GB, free: 4.133 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001939/0.1437, allocations: 4 kB / 0.5647 GB, free: 4.129 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001961/0.1439, allocations: 43.64 kB / 0.5647 GB, free: 4.086 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005577/0.1444, allocations: 199.1 kB / 0.5649 GB, free: 3.891 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007086/0.1452, allocations: 266.7 kB / 0.5652 GB, free: 3.633 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006057/0.1458, allocations: 0.5727 MB / 0.5658 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000783/0.1466, allocations: 465.2 kB / 0.5662 GB, free: 2.574 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.1468, allocations: 135.4 kB / 0.5663 GB, free: 2.441 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003863/0.1472, allocations: 187.3 kB / 0.5665 GB, free: 2.258 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.141e-05/0.1473, allocations: 12 kB / 0.5665 GB, free: 2.246 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004686/0.1477, allocations: 279.4 kB / 0.5668 GB, free: 1.973 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.1479, allocations: 107.7 kB / 0.5669 GB, free: 1.867 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.148, allocations: 157 kB / 0.567 GB, free: 1.707 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005754/0.1486, allocations: 466.5 kB / 0.5675 GB, free: 1.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1486, allocations: 0 / 0.5675 GB, free: 1.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1487, allocations: 0 / 0.5675 GB, free: 1.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.1487, allocations: 0 / 0.5675 GB, free: 1.25 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0009429/0.1496, allocations: 0.5342 MB / 0.568 GB, free: 0.668 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.1497, allocations: 20.02 kB / 0.568 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.814e-05/0.1498, allocations: 58.73 kB / 0.5681 GB, free: 0.582 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007569/0.1505, allocations: 100.4 kB / 0.5682 GB, free: 496 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.1509, allocations: 273.4 kB / 0.5684 GB, free: 180 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.1509, allocations: 20.88 kB / 0.5685 GB, free: 160 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.151, allocations: 40.28 kB / 0.5685 GB, free: 120 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006364/0.1517, allocations: 437.1 kB / 0.5689 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.1517, allocations: 3.984 kB / 0.5689 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.943e-05/0.1517, allocations: 12 kB / 0.5689 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000139/0.1519, allocations: 40.53 kB / 0.569 GB, free: 15.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005248/0.1524, allocations: 349.9 kB / 0.5693 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002222/0.1546, allocations: 2.206 MB / 0.5714 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000399/0.1551, allocations: 278.3 kB / 0.5717 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.1553, allocations: 156.8 kB / 0.5719 GB, free: 12.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.1553, allocations: 4 kB / 0.5719 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.1553, allocations: 34.94 kB / 0.5719 GB, free: 12.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.373e-06/0.1553, allocations: 4 kB / 0.5719 GB, free: 12.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.001634/0.157, allocations: 1.049 MB / 0.5729 GB, free: 11.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.157, allocations: 63.2 kB / 0.573 GB, free: 11.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.1573, allocations: 252.9 kB / 0.5732 GB, free: 10.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.1573, allocations: 29.7 kB / 0.5733 GB, free: 10.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.836e-05/0.1574, allocations: 184 kB / 0.5734 GB, free: 10.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.134e-05/0.1575, allocations: 90.73 kB / 0.5735 GB, free: 10.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.432e-05/0.1575, allocations: 41.69 kB / 0.5736 GB, free: 10.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1576, allocations: 326.8 kB / 0.5739 GB, free: 10.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.1578, allocations: 151.9 kB / 0.574 GB, free: 10.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/0.1581, allocations: 242.2 kB / 0.5742 GB, free: 9.816 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004833/0.1586, allocations: 406.8 kB / 0.5746 GB, free: 9.387 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1586, allocations: 0 / 0.5746 GB, free: 9.387 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001015/0.1596, allocations: 0.5854 MB / 0.5752 GB, free: 8.793 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1597, allocations: 8 kB / 0.5752 GB, free: 8.785 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1597, allocations: 0 / 0.5752 GB, free: 8.785 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000645/0.1603, allocations: 192.9 kB / 0.5754 GB, free: 8.594 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.1606, allocations: 59.89 kB / 0.5755 GB, free: 8.535 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002466/0.1631, allocations: 2.299 MB / 0.5777 GB, free: 6.105 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.1634, allocations: 19.98 kB / 0.5777 GB, free: 6.086 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/0.1634, allocations: 19.98 kB / 0.5777 GB, free: 6.066 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001629/0.1636, allocations: 157.8 kB / 0.5779 GB, free: 5.902 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.145e-05/0.1636, allocations: 31.72 kB / 0.5779 GB, free: 5.871 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005351/0.1642, allocations: 354.9 kB / 0.5783 GB, free: 5.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1642, allocations: 0 / 0.5783 GB, free: 5.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.1642, allocations: 0 / 0.5783 GB, free: 5.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1642, allocations: 0 / 0.5783 GB, free: 5.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009536/0.1652, allocations: 0.8236 MB / 0.5791 GB, free: 4.633 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1652, allocations: 0 / 0.5791 GB, free: 4.633 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003732/0.1655, allocations: 72 kB / 0.5791 GB, free: 4.562 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.1656, allocations: 4 kB / 0.5791 GB, free: 4.559 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.1656, allocations: 12 kB / 0.5791 GB, free: 4.547 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1656, allocations: 0 / 0.5791 GB, free: 4.547 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1656, allocations: 3.938 kB / 0.5792 GB, free: 4.543 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000681/0.1663, allocations: 0.611 MB / 0.5797 GB, free: 3.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.1664, allocations: 136.8 kB / 0.5799 GB, free: 3.758 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.863e-05/0.1665, allocations: 4 kB / 0.5799 GB, free: 3.754 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.1667, allocations: 11.98 kB / 0.5799 GB, free: 3.742 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.992e-05/0.1667, allocations: 19.97 kB / 0.5799 GB, free: 3.723 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.1667, allocations: 4 kB / 0.5799 GB, free: 3.719 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001632/0.1669, allocations: 184.4 kB / 0.5801 GB, free: 3.539 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1669, allocations: 3.938 kB / 0.5801 GB, free: 3.535 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003786/0.1673, allocations: 84 kB / 0.5802 GB, free: 3.453 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[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 (24): * Single equations (assignments): 24 * 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.001003/0.1683, allocations: 1.166 MB / 0.5813 GB, free: 2.254 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008309/0.1691, allocations: 0.5333 MB / 0.5818 GB, free: 1.711 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1692, allocations: 0 / 0.5818 GB, free: 1.711 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.1694, allocations: 151.8 kB / 0.582 GB, free: 1.562 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004641/0.1698, allocations: 57.92 kB / 0.582 GB, free: 1.508 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2218/0.3916, allocations: 3.817 MB / 0.5858 GB, free: 29.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.3918, allocations: 0.7954 MB / 0.5865 GB, free: 28.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002338/0.3921, allocations: 71.97 kB / 0.5866 GB, free: 28.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.3922, allocations: 82.89 kB / 0.5867 GB, free: 28.88 MB / 446.1 MB Notification: Performance of SimCode: time 1.222e-06/0.3922, allocations: 3.938 kB / 0.5867 GB, free: 28.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3021/0.6944, allocations: 6.263 MB / 0.5928 GB, free: 28.59 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001601/0.6945, allocations: 238.8 kB / 0.593 GB, free: 28.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.972/2.667, allocations: 0 / 0.593 GB, free: 28.33 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)