Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.001063/0.001063, 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.001239/0.001239, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8672/0.8672, allocations: 177.1 MB / 202.8 MB, free: 5.598 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.001405/0.001405, allocations: 237.3 kB / 259.4 MB, free: 12.88 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.6631/0.6631, allocations: 138.4 MB / 454.3 MB, free: 30.06 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.6463 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.462e-05/1.596e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.832 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.2499/0.2499, allocations: 35.65 MB / 0.6811 GB, free: 36.5 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0127/0.2626, allocations: 10.95 MB / 0.6918 GB, free: 29.37 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001621/0.2643, allocations: 204.1 kB / 0.692 GB, free: 29.28 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.004695/0.269, allocations: 4.393 MB / 0.6963 GB, free: 26.81 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003329/0.2723, allocations: 2.398 MB / 0.6987 GB, free: 25.28 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003162/0.2754, allocations: 2.191 MB / 0.7008 GB, free: 24.04 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.006401/0.2818, allocations: 9.461 MB / 0.71 GB, free: 19.12 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006663/0.2885, allocations: 6.371 MB / 0.7163 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007172/0.2957, allocations: 5.768 MB / 0.7219 GB, free: 11.34 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005036/0.3007, allocations: 4.191 MB / 0.726 GB, free: 8.977 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.001188/0.3019, allocations: 0.8267 MB / 0.7268 GB, free: 8.898 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00224/0.3041, allocations: 1.522 MB / 0.7283 GB, free: 7.375 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.001539/0.3057, allocations: 3.367 MB / 0.7316 GB, free: 4 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.002067/0.3078, allocations: 2.561 MB / 0.7341 GB, free: 1.434 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.007333/0.3151, allocations: 12.56 MB / 0.7463 GB, free: 4.836 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3151, allocations: 0 / 0.7463 GB, free: 4.836 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.685e-06/0.3151, allocations: 4 kB / 0.7463 GB, free: 4.832 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0002352/0.3153, allocations: 0.5625 kB / 0.7463 GB, free: 4.832 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.007599/0.3229, allocations: 6.336 MB / 0.7525 GB, free: 14.44 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.323, allocations: 9.938 kB / 0.7525 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007084/0.3237, allocations: 0.823 MB / 0.7533 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002588/0.3263, allocations: 1.113 MB / 0.7544 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004096/0.3304, allocations: 3.571 MB / 0.7579 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001845/0.3305, allocations: 431.6 kB / 0.7583 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000535/0.3311, allocations: 0.5393 MB / 0.7588 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0104/0.3415, allocations: 10.28 MB / 0.7689 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.999e-05/0.3416, allocations: 31.94 kB / 0.7689 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004148/0.342, allocations: 250 kB / 0.7692 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003843/0.3424, allocations: 418.9 kB / 0.7696 GB, free: 12.37 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008312/0.3507, allocations: 7.118 MB / 0.7765 GB, free: 5.246 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02162/0.3723, allocations: 26.22 MB / 0.8021 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002902/0.3752, allocations: 2.898 MB / 0.8049 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001728/0.3769, allocations: 1.949 MB / 0.8068 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.073e-05/0.377, allocations: 22 kB / 0.8069 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.377, allocations: 56.56 kB / 0.8069 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=209): time 3.597e-06/0.377, allocations: 0 / 0.8069 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of matching and sorting (n=212): time 0.01432/0.3914, allocations: 10.28 MB / 0.817 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.3914, allocations: 73.41 kB / 0.817 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001987/0.3934, allocations: 2.056 MB / 0.819 GB, free: 9.023 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.3935, allocations: 61.7 kB / 0.8191 GB, free: 8.957 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000987/0.3945, allocations: 2.47 MB / 0.8215 GB, free: 6.461 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003859/0.3949, allocations: 0.7552 MB / 0.8222 GB, free: 5.699 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004583/0.3953, allocations: 473.5 kB / 0.8227 GB, free: 5.23 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.518e-05/0.3954, allocations: 301.1 kB / 0.823 GB, free: 4.934 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001282/0.3967, allocations: 1.379 MB / 0.8243 GB, free: 3.551 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001713/0.3984, allocations: 2.105 MB / 0.8264 GB, free: 1.125 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003106/0.4015, allocations: 3.766 MB / 0.8301 GB, free: 13.04 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/0.4015, allocations: 8 kB / 0.8301 GB, free: 13.04 MB / 0.6667 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.005075/0.4066, allocations: 5.023 MB / 0.835 GB, free: 7.988 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.4066, allocations: 16 kB / 0.835 GB, free: 7.973 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/0.4066, allocations: 32.03 kB / 0.835 GB, free: 7.941 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002123/0.4087, allocations: 1.586 MB / 0.8366 GB, free: 6.348 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008754/0.4096, allocations: 451.2 kB / 0.837 GB, free: 5.906 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01443/0.4241, allocations: 17.9 MB / 0.8545 GB, free: 3.551 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/0.4253, allocations: 148 kB / 0.8546 GB, free: 3.406 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.4255, allocations: 108 kB / 0.8547 GB, free: 3.301 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002481/0.4279, allocations: 1.946 MB / 0.8566 GB, free: 1.344 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002798/0.4282, allocations: 306.1 kB / 0.8569 GB, free: 1.043 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004439/0.4327, allocations: 4.392 MB / 0.8612 GB, free: 12.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.4327, allocations: 23.94 kB / 0.8612 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/0.4327, allocations: 16 kB / 0.8613 GB, free: 12.58 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.4327, allocations: 11.95 kB / 0.8613 GB, free: 12.57 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009447/0.4421, allocations: 9.172 MB / 0.8702 GB, free: 3.262 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.4421, allocations: 4 kB / 0.8702 GB, free: 3.258 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005003/0.4426, allocations: 235.6 kB / 0.8704 GB, free: 3.027 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001834/0.4445, allocations: 1.415 MB / 0.8718 GB, free: 1.602 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-05/0.4446, allocations: 40 kB / 0.8719 GB, free: 1.562 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01382/0.4584, allocations: 17.91 MB / 0.8894 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.4584, allocations: 11.94 kB / 0.8894 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004522/0.4629, allocations: 4.487 MB / 0.8938 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009488/0.4639, allocations: 0.5722 MB / 0.8943 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001867/0.464, allocations: 47.94 kB / 0.8944 GB, free: 9.988 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007005/0.4647, allocations: 119.7 kB / 0.8945 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005172/0.4653, allocations: 189.5 kB / 0.8947 GB, free: 9.684 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.44e-05/0.4654, allocations: 63.94 kB / 0.8947 GB, free: 9.621 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001244/0.4666, allocations: 1.315 MB / 0.896 GB, free: 8.297 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4666, allocations: 4 kB / 0.896 GB, free: 8.293 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002275/0.4689, allocations: 1.145 MB / 0.8971 GB, free: 7.148 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004476/0.4733, allocations: 5.099 MB / 0.9021 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004408/0.4778, allocations: 4.533 MB / 0.9065 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4778, allocations: 256 / 0.9065 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002656/0.4804, allocations: 2.797 MB / 0.9093 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/0.4824, allocations: 0.9057 MB / 0.9101 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2487/0.7312, allocations: 30.63 MB / 0.9401 GB, free: 228.8 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002707/0.7339, allocations: 3.159 MB / 0.9431 GB, free: 228.6 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0012/0.7351, allocations: 0.5531 MB / 0.9437 GB, free: 228.5 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001209/0.7363, allocations: 1.949 MB / 0.9456 GB, free: 228.4 MB / 0.7605 GB Notification: Performance of SimCode: time 7.61e-07/0.7363, allocations: 2.781 kB / 0.9456 GB, free: 228.4 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08904/0.8253, allocations: 90.42 MB / 1.034 GB, free: 175.8 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.022/9.847, allocations: 0 / 1.034 GB, free: 175.8 MB / 0.7605 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.588480556383729] Failed to read output from testmodel.py, exit status != 0: 9.965133814141154 9.975616437 9.658266719 Calling exit ...