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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009379/0.0009379, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008185/0.0008185, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8646/0.8646, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001436/0.001436, allocations: 233.5 kB / 259.4 MB, free: 13.03 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6676/0.6676, allocations: 138.4 MB / 454.3 MB, free: 1.66 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.6463 GB, free: 28.89 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.323e-05/1.456e-05, allocations: 2.281 kB / 0.6463 GB, free: 28.89 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003293/0.003307, allocations: 3.193 MB / 0.6494 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002155/0.005463, allocations: 1.97 MB / 0.6513 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.005593, allocations: 7.969 kB / 0.6513 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005703/0.006164, allocations: 292.5 kB / 0.6516 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0003851/0.006549, allocations: 243.5 kB / 0.6519 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004872/0.007036, allocations: 296.9 kB / 0.6521 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0003373/0.007373, allocations: 426.6 kB / 0.6526 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002593/0.007633, allocations: 157 kB / 0.6527 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/0.007882, allocations: 226.4 kB / 0.6529 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002528/0.008135, allocations: 194.5 kB / 0.6531 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.654e-05/0.008172, allocations: 24.09 kB / 0.6531 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002859/0.008457, allocations: 238.9 kB / 0.6534 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 9.027e-05/0.008548, allocations: 130.3 kB / 0.6535 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 7.91e-05/0.008627, allocations: 105.5 kB / 0.6536 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0004208/0.009048, allocations: 0.5084 MB / 0.6541 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.00905, allocations: 1.156 kB / 0.6541 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.62e-07/0.009051, allocations: 0 / 0.6541 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.009055, allocations: 0 / 0.6541 GB, free: 23.22 MB / 0.5105 GB 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.0006593/0.009715, allocations: 0.5311 MB / 0.6546 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.00975, allocations: 10 kB / 0.6546 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.384e-05/0.009794, allocations: 65.16 kB / 0.6547 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005119/0.01031, allocations: 126.1 kB / 0.6548 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.01053, allocations: 217.3 kB / 0.655 GB, free: 22.44 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.01055, allocations: 13.38 kB / 0.655 GB, free: 22.44 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.347e-05/0.01063, allocations: 45.45 kB / 0.655 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004459/0.01108, allocations: 0.5206 MB / 0.6556 GB, free: 22.01 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.01109, allocations: 10.03 kB / 0.6556 GB, free: 22 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.01112, allocations: 14.39 kB / 0.6556 GB, free: 21.99 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.656e-05/0.01119, allocations: 40.12 kB / 0.6556 GB, free: 21.98 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003756/0.01157, allocations: 359.6 kB / 0.656 GB, free: 21.81 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.01283, allocations: 1.642 MB / 0.6576 GB, free: 20.46 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.01309, allocations: 243.8 kB / 0.6578 GB, free: 20.32 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.01322, allocations: 143.4 kB / 0.6579 GB, free: 20.25 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.01324, allocations: 1.938 kB / 0.6579 GB, free: 20.25 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.489e-05/0.01325, allocations: 32.78 kB / 0.658 GB, free: 20.21 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=22): time 1.192e-06/0.01325, allocations: 0.6562 kB / 0.658 GB, free: 20.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23): time 0.001074/0.01433, allocations: 0.9069 MB / 0.6589 GB, free: 19.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.872e-05/0.01435, allocations: 58.69 kB / 0.6589 GB, free: 19.59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.01453, allocations: 271.6 kB / 0.6592 GB, free: 19.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.01454, allocations: 30.86 kB / 0.6592 GB, free: 19.36 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/0.01459, allocations: 194.8 kB / 0.6594 GB, free: 19.18 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.01463, allocations: 82.5 kB / 0.6595 GB, free: 19.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.606e-05/0.01471, allocations: 80 kB / 0.6595 GB, free: 19.06 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.273e-05/0.01474, allocations: 333.3 kB / 0.6599 GB, free: 18.73 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.01491, allocations: 162.8 kB / 0.66 GB, free: 18.65 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.0151, allocations: 242.8 kB / 0.6602 GB, free: 18.47 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/0.01544, allocations: 411.2 kB / 0.6606 GB, free: 18.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.01544, allocations: 1.188 kB / 0.6606 GB, free: 18.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006794/0.01612, allocations: 0.599 MB / 0.6612 GB, free: 17.87 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.01614, allocations: 6.969 kB / 0.6612 GB, free: 17.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.01614, allocations: 6.719 kB / 0.6612 GB, free: 17.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003502/0.01649, allocations: 197.6 kB / 0.6614 GB, free: 17.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.01665, allocations: 63.89 kB / 0.6615 GB, free: 17.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.01799, allocations: 2.365 MB / 0.6638 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.01816, allocations: 19.98 kB / 0.6638 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.01817, allocations: 15.98 kB / 0.6638 GB, free: 15.14 MB / 0.5105 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 8.689e-05/0.01826, allocations: 166.4 kB / 0.664 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.01829, allocations: 27.8 kB / 0.664 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002739/0.01856, allocations: 352.8 kB / 0.6644 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.01856, allocations: 4.062 kB / 0.6644 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.32e-07/0.01857, allocations: 4 kB / 0.6644 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.01857, allocations: 3.984 kB / 0.6644 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005234/0.01909, allocations: 0.7489 MB / 0.6651 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01909, allocations: 3.938 kB / 0.6651 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.01928, allocations: 79.88 kB / 0.6652 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.01928, allocations: 0 / 0.6652 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.01929, allocations: 4 kB / 0.6652 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.01929, allocations: 0 / 0.6652 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01929, allocations: 0 / 0.6652 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003796/0.01967, allocations: 0.6253 MB / 0.6658 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.56e-05/0.01974, allocations: 51.88 kB / 0.6658 GB, free: 13 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.01976, allocations: 8 kB / 0.6658 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.01987, allocations: 19.97 kB / 0.6659 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.267e-05/0.01989, allocations: 11.98 kB / 0.6659 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.0199, allocations: 4 kB / 0.6659 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001027/0.02, allocations: 189.2 kB / 0.6661 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.02, allocations: 0 / 0.6661 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002603/0.02026, allocations: 99.88 kB / 0.6662 GB, free: 12.67 MB / 0.5105 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.0004925/0.02076, allocations: 1.152 MB / 0.6673 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004837/0.02124, allocations: 0.5142 MB / 0.6678 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.02124, allocations: 4.062 kB / 0.6678 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.02135, allocations: 141.9 kB / 0.6679 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.02162, allocations: 57.92 kB / 0.668 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.02412, allocations: 3.607 MB / 0.6715 GB, free: 7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.02422, allocations: 194.1 kB / 0.6717 GB, free: 6.793 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000129/0.02435, allocations: 74.92 kB / 0.6718 GB, free: 6.719 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.939e-05/0.02444, allocations: 88.41 kB / 0.6718 GB, free: 6.633 MB / 0.5105 GB Notification: Performance of SimCode: time 5.82e-07/0.02444, allocations: 3.938 kB / 0.6718 GB, free: 6.629 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01818/0.04261, allocations: 7.814 MB / 0.6795 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.008/7.05, allocations: 11.3 kB / 0.6795 GB, free: 15.02 MB / 0.5261 GB " [Timeout remaining time 653] (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 --stepSize=0.0004 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.729398747906089] Failed to read output from testmodel.py, exit status != 0: 7.1352186584845185 7.144356579 7.133435057 Calling exit ...