Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.0007807/0.0007807, 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.0007546/0.0007546, allocations: 170.3 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.882/0.882, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.001427/0.001427, allocations: 241.3 kB / 259.4 MB, free: 13.02 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.6714/0.6714, allocations: 138.4 MB / 454.3 MB, free: 30.02 MB / 410.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.ThreePhases,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.738e-06/1.133e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.2539/0.2539, allocations: 4.093 MB / 0.6503 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002134/0.2561, allocations: 2.293 MB / 0.6525 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.2562, allocations: 25.41 kB / 0.6526 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0006463/0.2569, allocations: 372.3 kB / 0.6529 GB, free: 54 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0004533/0.2573, allocations: 401.5 kB / 0.6533 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003813/0.2577, allocations: 323 kB / 0.6536 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.000465/0.2582, allocations: 0.7048 MB / 0.6543 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002983/0.2585, allocations: 229.2 kB / 0.6545 GB, free: 53.17 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003348/0.2588, allocations: 371.1 kB / 0.6549 GB, free: 53.02 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.259, allocations: 238 kB / 0.6551 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.663e-05/0.2591, allocations: 29.69 kB / 0.6551 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003583/0.2594, allocations: 388.9 kB / 0.6555 GB, free: 52.82 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.2595, allocations: 154.6 kB / 0.6556 GB, free: 52.75 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.2597, allocations: 153.6 kB / 0.6558 GB, free: 52.69 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0005581/0.2602, allocations: 0.7573 MB / 0.6565 GB, free: 52.44 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2602, allocations: 2.547 kB / 0.6565 GB, free: 52.44 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2602, allocations: 0 / 0.6565 GB, free: 52.44 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.2602, allocations: 3.281 kB / 0.6565 GB, free: 52.44 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0006967/0.2609, allocations: 0.7175 MB / 0.6572 GB, free: 51.9 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.261, allocations: 12.69 kB / 0.6572 GB, free: 51.9 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.184e-05/0.261, allocations: 77.73 kB / 0.6573 GB, free: 51.84 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006884/0.2617, allocations: 190.2 kB / 0.6575 GB, free: 51.8 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003624/0.2621, allocations: 381.8 kB / 0.6579 GB, free: 51.55 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.2621, allocations: 26.86 kB / 0.6579 GB, free: 51.54 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.308e-05/0.2621, allocations: 32.73 kB / 0.6579 GB, free: 51.53 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005222/0.2626, allocations: 0.7263 MB / 0.6586 GB, free: 51.01 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.2627, allocations: 8.109 kB / 0.6586 GB, free: 51.01 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.2627, allocations: 25.38 kB / 0.6587 GB, free: 50.99 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.151e-05/0.2627, allocations: 53.56 kB / 0.6587 GB, free: 50.98 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004534/0.2632, allocations: 495.2 kB / 0.6592 GB, free: 50.82 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.2646, allocations: 3.187 MB / 0.6623 GB, free: 48.08 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000896/0.2655, allocations: 0.6113 MB / 0.6629 GB, free: 47.9 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.2656, allocations: 163.8 kB / 0.663 GB, free: 47.83 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.2657, allocations: 7.531 kB / 0.6631 GB, free: 47.82 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.167e-05/0.2657, allocations: 39.31 kB / 0.6631 GB, free: 47.78 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=30): time 1.312e-06/0.2657, allocations: 0 / 0.6631 GB, free: 47.78 MB / 0.5573 GB Notification: Performance of matching and sorting (n=33): time 0.001232/0.2669, allocations: 1.06 MB / 0.6641 GB, free: 47.3 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.2669, allocations: 112.6 kB / 0.6642 GB, free: 47.18 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.2672, allocations: 409.4 kB / 0.6646 GB, free: 46.97 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.2672, allocations: 30.27 kB / 0.6647 GB, free: 46.94 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 9.059e-05/0.2673, allocations: 292.7 kB / 0.6649 GB, free: 46.7 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.2673, allocations: 124.1 kB / 0.665 GB, free: 46.6 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.231e-05/0.2674, allocations: 100.9 kB / 0.6651 GB, free: 46.54 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.571e-05/0.2675, allocations: 352.6 kB / 0.6655 GB, free: 46.21 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.2676, allocations: 174.6 kB / 0.6656 GB, free: 46.16 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.2679, allocations: 381.9 kB / 0.666 GB, free: 45.84 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004087/0.2683, allocations: 0.5882 MB / 0.6666 GB, free: 45.42 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2683, allocations: 3.25 kB / 0.6666 GB, free: 45.42 MB / 0.5573 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0006703/0.2689, allocations: 0.6742 MB / 0.6672 GB, free: 45.12 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.269, allocations: 13.03 kB / 0.6673 GB, free: 45.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.269, allocations: 5.875 kB / 0.6673 GB, free: 45.12 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002184/0.2692, allocations: 96.2 kB / 0.6674 GB, free: 45.08 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.2694, allocations: 116.6 kB / 0.6675 GB, free: 45.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/0.2708, allocations: 4.031 MB / 0.6714 GB, free: 41.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.2709, allocations: 33.61 kB / 0.6714 GB, free: 41.18 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.271, allocations: 24.34 kB / 0.6715 GB, free: 41.18 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.2711, allocations: 196.9 kB / 0.6716 GB, free: 41.02 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.889e-05/0.2711, allocations: 48.25 kB / 0.6717 GB, free: 41 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004866/0.2716, allocations: 0.5144 MB / 0.6722 GB, free: 40.76 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.2716, allocations: 9.094 kB / 0.6722 GB, free: 40.76 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.2716, allocations: 1.781 kB / 0.6722 GB, free: 40.76 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.2716, allocations: 8.031 kB / 0.6722 GB, free: 40.75 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009551/0.2726, allocations: 1.205 MB / 0.6734 GB, free: 39.99 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2726, allocations: 3.812 kB / 0.6734 GB, free: 39.99 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.2727, allocations: 63.7 kB / 0.6735 GB, free: 39.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001319/0.2728, allocations: 91.03 kB / 0.6735 GB, free: 39.94 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.2728, allocations: 14.69 kB / 0.6736 GB, free: 39.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/0.274, allocations: 4.017 MB / 0.6775 GB, free: 36.06 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.274, allocations: 1.875 kB / 0.6775 GB, free: 36.06 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004678/0.2745, allocations: 0.7778 MB / 0.6782 GB, free: 35.53 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.954e-05/0.2746, allocations: 78.81 kB / 0.6783 GB, free: 35.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.2746, allocations: 16.92 kB / 0.6783 GB, free: 35.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.2748, allocations: 23.48 kB / 0.6784 GB, free: 35.47 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.2748, allocations: 36.73 kB / 0.6784 GB, free: 35.46 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.2748, allocations: 14.94 kB / 0.6784 GB, free: 35.46 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001544/0.275, allocations: 278.1 kB / 0.6787 GB, free: 35.32 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.275, allocations: 1.969 kB / 0.6787 GB, free: 35.32 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003845/0.2754, allocations: 123.7 kB / 0.6788 GB, free: 35.3 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005084/0.2759, allocations: 1.324 MB / 0.6801 GB, free: 34.24 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00056/0.2764, allocations: 0.7806 MB / 0.6808 GB, free: 33.76 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2764, allocations: 0 / 0.6808 GB, free: 33.76 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002614/0.2767, allocations: 0.5405 MB / 0.6814 GB, free: 33.36 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005148/0.2772, allocations: 140.3 kB / 0.6815 GB, free: 33.32 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002836/0.28, allocations: 4.529 MB / 0.6859 GB, free: 30.32 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001993/0.2802, allocations: 257.7 kB / 0.6862 GB, free: 30.21 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001855/0.2804, allocations: 105.8 kB / 0.6863 GB, free: 30.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.2806, allocations: 154.6 kB / 0.6864 GB, free: 30.09 MB / 0.5573 GB Notification: Performance of SimCode: time 6.61e-07/0.2806, allocations: 0 / 0.6864 GB, free: 30.09 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03118/0.3118, allocations: 11.24 MB / 0.6974 GB, free: 28.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.938/7.25, allocations: 8.562 kB / 0.6974 GB, free: 28.19 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_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_ThreePhases.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.934430357068777] Failed to read output from testmodel.py, exit status != 0: 7.335575183853507 7.345005453 7.082914038 Calling exit ...