Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="BuildingSystems_BuildingSystems_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.0009306/0.0009306, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005843/0.005843, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.328/1.328, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001837/0.001837, allocations: 274.9 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9151/0.9151, allocations: 169.5 MB / 0.5004 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004168/0.0004168, allocations: 15.06 kB / 0.5988 GB, free: 28.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1421, allocations: 88.54 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003738/0.1459, allocations: 2.936 MB / 0.6881 GB, free: 12 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002849/0.1488, allocations: 1.835 MB / 0.6899 GB, free: 10.17 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.149, allocations: 7.938 kB / 0.6899 GB, free: 10.16 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001863/0.1492, allocations: 39.64 kB / 0.6899 GB, free: 10.12 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005352/0.1497, allocations: 203.2 kB / 0.6901 GB, free: 9.922 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006748/0.1504, allocations: 259.3 kB / 0.6904 GB, free: 9.672 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006083/0.151, allocations: 0.5688 MB / 0.6909 GB, free: 9.102 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007675/0.1518, allocations: 461.5 kB / 0.6914 GB, free: 8.629 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/0.152, allocations: 131.5 kB / 0.6915 GB, free: 8.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003632/0.1524, allocations: 196.5 kB / 0.6917 GB, free: 8.309 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.941e-05/0.1525, allocations: 12 kB / 0.6917 GB, free: 8.297 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004203/0.1529, allocations: 280.3 kB / 0.692 GB, free: 8.023 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.153, allocations: 99.77 kB / 0.6921 GB, free: 7.926 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.1532, allocations: 157.8 kB / 0.6922 GB, free: 7.766 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005738/0.1538, allocations: 474.5 kB / 0.6927 GB, free: 7.301 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1538, allocations: 0.5312 kB / 0.6927 GB, free: 7.301 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1538, allocations: 3.938 kB / 0.6927 GB, free: 7.297 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.1538, allocations: 1.219 kB / 0.6927 GB, free: 7.297 MB / 494.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.0009749/0.1548, allocations: 0.5321 MB / 0.6932 GB, free: 6.719 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.1548, allocations: 12.03 kB / 0.6932 GB, free: 6.707 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.803e-05/0.1549, allocations: 66.7 kB / 0.6933 GB, free: 6.633 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007336/0.1557, allocations: 92.47 kB / 0.6934 GB, free: 6.543 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.156, allocations: 272.5 kB / 0.6936 GB, free: 6.234 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.156, allocations: 24.88 kB / 0.6936 GB, free: 6.211 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.1561, allocations: 36.3 kB / 0.6937 GB, free: 6.176 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006126/0.1568, allocations: 441.1 kB / 0.6941 GB, free: 5.711 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.1568, allocations: 4 kB / 0.6941 GB, free: 5.707 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/0.1568, allocations: 8 kB / 0.6941 GB, free: 5.699 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001413/0.157, allocations: 44.52 kB / 0.6942 GB, free: 5.656 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005336/0.1575, allocations: 349.9 kB / 0.6945 GB, free: 5.312 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002336/0.1599, allocations: 2.206 MB / 0.6966 GB, free: 2.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004121/0.1603, allocations: 270.4 kB / 0.6969 GB, free: 2.637 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.1605, allocations: 157.5 kB / 0.6971 GB, free: 2.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.1605, allocations: 8 kB / 0.6971 GB, free: 2.473 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.1606, allocations: 34.94 kB / 0.6971 GB, free: 2.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.423e-06/0.1606, allocations: 3.938 kB / 0.6971 GB, free: 2.426 MB / 494.1 MB Notification: Performance of matching and sorting (n=23): time 0.001784/0.1624, allocations: 1.058 MB / 0.6981 GB, free: 1.301 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.1624, allocations: 55.41 kB / 0.6982 GB, free: 1.234 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.1627, allocations: 248.9 kB / 0.6984 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.1627, allocations: 29.7 kB / 0.6984 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.1628, allocations: 184 kB / 0.6986 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.422e-05/0.1629, allocations: 82.83 kB / 0.6987 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.037e-05/0.163, allocations: 37.7 kB / 0.6987 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.1631, allocations: 342.8 kB / 0.6991 GB, free: 304 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.1634, allocations: 155.9 kB / 0.6992 GB, free: 148 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002894/0.1636, allocations: 237.5 kB / 0.6994 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005235/0.1642, allocations: 407.4 kB / 0.6998 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1642, allocations: 0 / 0.6998 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001081/0.1653, allocations: 0.5854 MB / 0.7004 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1653, allocations: 6.188 kB / 0.7004 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.1653, allocations: 8 kB / 0.7004 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006606/0.166, allocations: 188.7 kB / 0.7006 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003291/0.1663, allocations: 59.89 kB / 0.7007 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002794/0.1691, allocations: 2.303 MB / 0.7029 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002818/0.1694, allocations: 20.02 kB / 0.7029 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.1695, allocations: 12 kB / 0.7029 GB, free: 12.12 MB / 0.4981 GB 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.0002501/0.1697, allocations: 171.1 kB / 0.7031 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.565e-05/0.1698, allocations: 27.66 kB / 0.7031 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005379/0.1703, allocations: 353.6 kB / 0.7035 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1703, allocations: 4 kB / 0.7035 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.1703, allocations: 0 / 0.7035 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1704, allocations: 0 / 0.7035 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.1715, allocations: 0.8238 MB / 0.7043 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.1715, allocations: 4 kB / 0.7043 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000381/0.1719, allocations: 71.92 kB / 0.7043 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.1719, allocations: 4 kB / 0.7043 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.1719, allocations: 4 kB / 0.7043 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.1719, allocations: 4 kB / 0.7044 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1719, allocations: 3.938 kB / 0.7044 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007188/0.1726, allocations: 0.6105 MB / 0.705 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.1728, allocations: 128.8 kB / 0.7051 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.998e-05/0.1728, allocations: 8 kB / 0.7051 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.173, allocations: 7.984 kB / 0.7051 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.1731, allocations: 15.98 kB / 0.7051 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.1731, allocations: 11.98 kB / 0.7051 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000169/0.1733, allocations: 180.4 kB / 0.7053 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1733, allocations: 11.94 kB / 0.7053 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000439/0.1737, allocations: 87.94 kB / 0.7054 GB, free: 9.496 MB / 0.4981 GB 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.001124/0.1749, allocations: 1.158 MB / 0.7065 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008438/0.1757, allocations: 0.5253 MB / 0.707 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1757, allocations: 0 / 0.707 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.1759, allocations: 152.4 kB / 0.7072 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004619/0.1764, allocations: 52.52 kB / 0.7072 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004801/0.1812, allocations: 3.825 MB / 0.711 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.1816, allocations: 0.7989 MB / 0.7117 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002098/0.1818, allocations: 70.92 kB / 0.7118 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.182, allocations: 83.41 kB / 0.7119 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of SimCode: time 2.013e-06/0.182, allocations: 0 / 0.7119 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0172/0.1992, allocations: 6.313 MB / 0.718 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/0.1994, allocations: 245.3 kB / 0.7183 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/1.984, allocations: 3.375 kB / 0.7183 GB, free: 12.29 MB / 0.5137 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)