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.001296/0.001296, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001458/0.001458, allocations: 214.5 kB / 22.24 MB, free: 4.859 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.411/1.411, 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.002521/0.002521, allocations: 299.5 kB / 312.7 MB, free: 2.594 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.22/1.22, allocations: 180.6 MB / 0.5369 GB, free: 14.46 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.003008/0.003008, allocations: 97.08 kB / 0.7395 GB, free: 28.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1713, allocations: 95.39 MB / 0.8326 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005079/0.1764, allocations: 3.236 MB / 0.8358 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003605/0.18, allocations: 1.98 MB / 0.8377 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.1801, allocations: 7.938 kB / 0.8377 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009875/0.1811, allocations: 294.8 kB / 0.838 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000574/0.1817, allocations: 242.9 kB / 0.8383 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007023/0.1824, allocations: 285.2 kB / 0.8385 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004739/0.1829, allocations: 410.7 kB / 0.8389 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00033/0.1832, allocations: 168.9 kB / 0.8391 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002748/0.1835, allocations: 175.5 kB / 0.8392 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003554/0.1838, allocations: 199.3 kB / 0.8394 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.843e-05/0.1839, allocations: 24 kB / 0.8395 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004185/0.1843, allocations: 243.5 kB / 0.8397 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.1844, allocations: 127.6 kB / 0.8398 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.1846, allocations: 119.5 kB / 0.8399 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006041/0.1852, allocations: 0.4904 MB / 0.8404 GB, free: 340 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.1852, allocations: 0 / 0.8404 GB, free: 340 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1852, allocations: 0 / 0.8404 GB, free: 340 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.1852, allocations: 0 / 0.8404 GB, free: 340 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.001094/0.1863, allocations: 0.5284 MB / 0.8409 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.1863, allocations: 13.34 kB / 0.8409 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.795e-05/0.1864, allocations: 70.7 kB / 0.841 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009365/0.1873, allocations: 116.6 kB / 0.8411 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004172/0.1877, allocations: 223.4 kB / 0.8413 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.1878, allocations: 20.88 kB / 0.8413 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.1879, allocations: 44.44 kB / 0.8414 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007852/0.1887, allocations: 0.518 MB / 0.8419 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.1887, allocations: 4 kB / 0.8419 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.554e-05/0.1887, allocations: 8 kB / 0.8419 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001424/0.1889, allocations: 40.45 kB / 0.8419 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006476/0.1895, allocations: 365.7 kB / 0.8423 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002527/0.192, allocations: 1.64 MB / 0.8439 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004407/0.1925, allocations: 238.4 kB / 0.8441 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.1927, allocations: 148.8 kB / 0.8443 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.1927, allocations: 4 kB / 0.8443 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.1928, allocations: 38.5 kB / 0.8443 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=22): time 2.334e-06/0.1928, allocations: 3.938 kB / 0.8443 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.001798/0.1946, allocations: 0.9134 MB / 0.8452 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.1946, allocations: 55.41 kB / 0.8453 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/0.1949, allocations: 264.8 kB / 0.8455 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.195, allocations: 33.7 kB / 0.8455 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.1951, allocations: 184.4 kB / 0.8457 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.028e-05/0.1952, allocations: 91.25 kB / 0.8458 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.1953, allocations: 81.62 kB / 0.8459 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.1955, allocations: 334.8 kB / 0.8462 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002926/0.1958, allocations: 155.9 kB / 0.8463 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000361/0.1962, allocations: 241.6 kB / 0.8466 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006187/0.1968, allocations: 410.8 kB / 0.847 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1968, allocations: 7.938 kB / 0.847 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001221/0.198, allocations: 0.5889 MB / 0.8476 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.198, allocations: 8.062 kB / 0.8476 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.198, allocations: 4 kB / 0.8476 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000697/0.1987, allocations: 188.6 kB / 0.8477 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/0.1991, allocations: 67.89 kB / 0.8478 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003097/0.2022, allocations: 2.377 MB / 0.8501 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003924/0.2025, allocations: 20.02 kB / 0.8502 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.145e-05/0.2026, allocations: 19.98 kB / 0.8502 GB, free: 5.844 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.0002128/0.2028, allocations: 166.3 kB / 0.8503 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.191e-05/0.2029, allocations: 27.92 kB / 0.8504 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005798/0.2034, allocations: 354 kB / 0.8507 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.2034, allocations: 4 kB / 0.8507 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.2034, allocations: 0 / 0.8507 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2035, allocations: 0 / 0.8507 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.2046, allocations: 0.7629 MB / 0.8514 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.2046, allocations: 0 / 0.8514 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003945/0.205, allocations: 67.94 kB / 0.8515 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.205, allocations: 4 kB / 0.8515 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.205, allocations: 12.06 kB / 0.8515 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.057e-05/0.205, allocations: 0 / 0.8515 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.205, allocations: 0 / 0.8515 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007818/0.2058, allocations: 0.6143 MB / 0.8521 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.206, allocations: 51.88 kB / 0.8522 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.649e-05/0.206, allocations: 8 kB / 0.8522 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.2062, allocations: 11.98 kB / 0.8522 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.2063, allocations: 19.91 kB / 0.8522 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.2063, allocations: 4 kB / 0.8522 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002332/0.2065, allocations: 192.5 kB / 0.8524 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2065, allocations: 0 / 0.8524 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004156/0.207, allocations: 92 kB / 0.8525 GB, free: 3.395 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.00118/0.2081, allocations: 1.16 MB / 0.8536 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001048/0.2092, allocations: 0.5252 MB / 0.8541 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.2092, allocations: 0 / 0.8541 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.2094, allocations: 150.5 kB / 0.8543 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.2099, allocations: 55.12 kB / 0.8543 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005614/0.2155, allocations: 3.694 MB / 0.8579 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.2157, allocations: 190 kB / 0.8581 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002563/0.216, allocations: 78.92 kB / 0.8582 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/0.2162, allocations: 87.41 kB / 0.8583 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of SimCode: time 6.11e-07/0.2162, allocations: 0 / 0.8583 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03844/0.2546, allocations: 7.665 MB / 0.8658 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.8, allocations: 0 / 0.8658 GB, free: 5.777 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 16.073037089779973] Failed to read output from testmodel.py, exit status != 0: 11.919138060882688 11.94794341 11.75767365 Calling exit ...