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.001766/0.001766, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002469/0.002469, allocations: 210.3 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.47/1.47, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.002574/0.002574, allocations: 294.7 kB / 312.7 MB, free: 2.605 MB / 238.1 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 1.195/1.195, allocations: 180.6 MB / 0.5369 GB, free: 14.54 MB / 382.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002965/0.002965, allocations: 106 kB / 0.7395 GB, free: 27.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1669, allocations: 95.38 MB / 0.8326 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005638/0.1725, allocations: 3.241 MB / 0.8358 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003665/0.1762, allocations: 1.984 MB / 0.8377 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002237/0.1764, allocations: 7.938 kB / 0.8378 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.1774, allocations: 290.8 kB / 0.838 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00063/0.1781, allocations: 238.9 kB / 0.8383 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007478/0.1788, allocations: 280.6 kB / 0.8385 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005796/0.1794, allocations: 418.7 kB / 0.8389 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00036/0.1797, allocations: 164.3 kB / 0.8391 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003606/0.1801, allocations: 179.4 kB / 0.8393 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004444/0.1805, allocations: 199.3 kB / 0.8394 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.635e-05/0.1806, allocations: 24 kB / 0.8395 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000485/0.1811, allocations: 239.5 kB / 0.8397 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.1812, allocations: 123.7 kB / 0.8398 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.1814, allocations: 119.5 kB / 0.8399 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000655/0.1821, allocations: 0.4904 MB / 0.8404 GB, free: 352 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1821, allocations: 4 kB / 0.8404 GB, free: 348 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1821, allocations: 0 / 0.8404 GB, free: 348 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.1821, allocations: 0 / 0.8404 GB, free: 348 kB / 0.5762 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.001169/0.1832, allocations: 0.5283 MB / 0.8409 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.1833, allocations: 9.344 kB / 0.8409 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.932e-05/0.1834, allocations: 70.7 kB / 0.841 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009968/0.1844, allocations: 120.6 kB / 0.8411 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004334/0.1848, allocations: 218.7 kB / 0.8413 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.1848, allocations: 16.88 kB / 0.8413 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.185, allocations: 40.44 kB / 0.8414 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008039/0.1858, allocations: 0.522 MB / 0.8419 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.1858, allocations: 7.938 kB / 0.8419 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.708e-05/0.1858, allocations: 12 kB / 0.8419 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001489/0.186, allocations: 36.47 kB / 0.8419 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006484/0.1866, allocations: 365.6 kB / 0.8423 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002584/0.1892, allocations: 1.648 MB / 0.8439 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004456/0.1897, allocations: 242.4 kB / 0.8441 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/0.1899, allocations: 144.8 kB / 0.8443 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.1899, allocations: 0 / 0.8443 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.1899, allocations: 34.56 kB / 0.8443 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=22): time 1.082e-06/0.1899, allocations: 0 / 0.8443 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.001795/0.1917, allocations: 0.9172 MB / 0.8452 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.1918, allocations: 55.41 kB / 0.8453 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003448/0.1921, allocations: 264.8 kB / 0.8455 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.1921, allocations: 33.7 kB / 0.8455 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.1923, allocations: 184.4 kB / 0.8457 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.579e-05/0.1924, allocations: 95.25 kB / 0.8458 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.1925, allocations: 77.64 kB / 0.8459 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.1926, allocations: 330.8 kB / 0.8462 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002963/0.1929, allocations: 159.9 kB / 0.8463 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003666/0.1933, allocations: 245.6 kB / 0.8466 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006089/0.1939, allocations: 410.8 kB / 0.847 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1939, allocations: 3.938 kB / 0.847 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001248/0.1952, allocations: 0.5925 MB / 0.8476 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.1952, allocations: 7.938 kB / 0.8476 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1952, allocations: 4 kB / 0.8476 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007086/0.1959, allocations: 185 kB / 0.8477 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003301/0.1962, allocations: 67.89 kB / 0.8478 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003075/0.1993, allocations: 2.367 MB / 0.8501 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003844/0.1997, allocations: 28.03 kB / 0.8501 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-05/0.1997, allocations: 19.98 kB / 0.8502 GB, free: 5.863 MB / 0.5919 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.0002014/0.1999, allocations: 166.3 kB / 0.8503 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.024e-05/0.2, allocations: 23.86 kB / 0.8503 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000577/0.2006, allocations: 355.5 kB / 0.8507 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.2006, allocations: 4 kB / 0.8507 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.2006, allocations: 0 / 0.8507 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.2006, allocations: 7.984 kB / 0.8507 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.2018, allocations: 0.7552 MB / 0.8514 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2018, allocations: 0 / 0.8514 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004005/0.2022, allocations: 71.88 kB / 0.8515 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.2022, allocations: 4 kB / 0.8515 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.2022, allocations: 8 kB / 0.8515 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.2022, allocations: 3.984 kB / 0.8515 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2022, allocations: 3.938 kB / 0.8515 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008261/0.203, allocations: 0.6181 MB / 0.8521 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.2032, allocations: 55.94 kB / 0.8522 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.686e-05/0.2032, allocations: 11.98 kB / 0.8522 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.2035, allocations: 11.98 kB / 0.8522 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.2035, allocations: 23.91 kB / 0.8522 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.2035, allocations: 4 kB / 0.8522 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00025/0.2038, allocations: 188.5 kB / 0.8524 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2038, allocations: 0 / 0.8524 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004133/0.2042, allocations: 92 kB / 0.8525 GB, free: 3.398 MB / 0.5919 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.001162/0.2053, allocations: 1.159 MB / 0.8536 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009863/0.2063, allocations: 0.5184 MB / 0.8541 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2063, allocations: 0 / 0.8541 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.2065, allocations: 144.8 kB / 0.8543 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.207, allocations: 51.08 kB / 0.8543 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005498/0.2125, allocations: 3.696 MB / 0.8579 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.2127, allocations: 186 kB / 0.8581 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002327/0.2129, allocations: 74.91 kB / 0.8582 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.2131, allocations: 91.34 kB / 0.8583 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.2131, allocations: 0 / 0.8583 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03768/0.2508, allocations: 7.672 MB / 0.8658 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.65, allocations: 7.094 kB / 0.8658 GB, free: 5.789 MB / 0.6075 GB " [Timeout remaining time 648] (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: 15.768036019057035] Failed to read output from testmodel.py, exit status != 0: 11.769661953672767 11.795554966 11.608753539 Calling exit ...