Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.000758/0.000758, 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.0008261/0.0008261, 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.8473/0.8473, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.0014/0.0014, allocations: 233.6 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.6721/0.6721, allocations: 138.4 MB / 454.3 MB, free: 30.03 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.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.456e-06/3.456e-06, allocations: 4 kB / 0.6463 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.726e-05, allocations: 8.891 kB / 0.6463 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.2481/0.2481, allocations: 15.15 MB / 0.6611 GB, free: 48.91 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.006342/0.2545, allocations: 4.729 MB / 0.6657 GB, free: 45.85 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.2557, allocations: 83.09 kB / 0.6658 GB, free: 45.81 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001715/0.2574, allocations: 1.052 MB / 0.6668 GB, free: 45.22 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001595/0.259, allocations: 0.8044 MB / 0.6676 GB, free: 44.72 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.2607, allocations: 0.9299 MB / 0.6685 GB, free: 44.21 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002888/0.2636, allocations: 3.676 MB / 0.6721 GB, free: 42.56 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002366/0.2659, allocations: 2.45 MB / 0.6745 GB, free: 41.32 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002381/0.2683, allocations: 2.274 MB / 0.6767 GB, free: 40.22 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001895/0.2702, allocations: 1.688 MB / 0.6784 GB, free: 39.64 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0004177/0.2706, allocations: 340.6 kB / 0.6787 GB, free: 39.64 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.2719, allocations: 0.7516 MB / 0.6794 GB, free: 39.5 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.001366/0.2733, allocations: 1.422 MB / 0.6808 GB, free: 38.84 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001569/0.2748, allocations: 1.024 MB / 0.6818 GB, free: 38.33 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.006054/0.2809, allocations: 5.237 MB / 0.6869 GB, free: 36.73 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2809, allocations: 0 / 0.6869 GB, free: 36.73 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2809, allocations: 5.375 kB / 0.6869 GB, free: 36.73 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001444/0.2811, allocations: 0 / 0.6869 GB, free: 36.73 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.005883/0.2869, allocations: 2.608 MB / 0.6895 GB, free: 35.22 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.287, allocations: 13.7 kB / 0.6895 GB, free: 35.22 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005119/0.2875, allocations: 371.1 kB / 0.6898 GB, free: 35.02 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002571/0.2901, allocations: 0.8577 MB / 0.6907 GB, free: 34.83 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002138/0.2922, allocations: 1.535 MB / 0.6922 GB, free: 34.05 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.974e-05/0.2923, allocations: 176.7 kB / 0.6923 GB, free: 33.97 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003262/0.2926, allocations: 233.4 kB / 0.6926 GB, free: 33.89 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004734/0.2974, allocations: 4.263 MB / 0.6967 GB, free: 31.3 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.149e-05/0.2974, allocations: 2.25 kB / 0.6967 GB, free: 31.3 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001922/0.2976, allocations: 103.3 kB / 0.6968 GB, free: 31.22 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001344/0.2977, allocations: 173.5 kB / 0.697 GB, free: 31.17 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003925/0.3017, allocations: 3.619 MB / 0.7005 GB, free: 29.33 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009403/0.3111, allocations: 11.03 MB / 0.7113 GB, free: 21.23 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001746/0.3128, allocations: 1.473 MB / 0.7127 GB, free: 20.43 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005257/0.3133, allocations: 0.5438 MB / 0.7133 GB, free: 20.14 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.121e-05/0.3134, allocations: 18.75 kB / 0.7133 GB, free: 20.14 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.3134, allocations: 43.97 kB / 0.7133 GB, free: 20.09 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=72): time 5.17e-06/0.3134, allocations: 0 / 0.7133 GB, free: 20.09 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76): time 0.003425/0.3169, allocations: 3.2 MB / 0.7165 GB, free: 18.12 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.3169, allocations: 116.3 kB / 0.7166 GB, free: 18 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008789/0.3178, allocations: 1.049 MB / 0.7176 GB, free: 17.39 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.3178, allocations: 44.34 kB / 0.7176 GB, free: 17.34 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003009/0.3181, allocations: 1.136 MB / 0.7187 GB, free: 16.33 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.3182, allocations: 287.5 kB / 0.719 GB, free: 16.09 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002397/0.3184, allocations: 279 kB / 0.7193 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.938e-05/0.3185, allocations: 411.6 kB / 0.7197 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005125/0.319, allocations: 0.613 MB / 0.7203 GB, free: 14.99 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006095/0.3197, allocations: 1.189 MB / 0.7214 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.3208, allocations: 1.87 MB / 0.7233 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/0.3208, allocations: 4 kB / 0.7233 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001616/0.3224, allocations: 2.015 MB / 0.7252 GB, free: 9.371 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.3224, allocations: 12.16 kB / 0.7252 GB, free: 9.359 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/0.3225, allocations: 27.94 kB / 0.7253 GB, free: 9.332 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002438/0.3227, allocations: 163.3 kB / 0.7254 GB, free: 9.16 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005681/0.3233, allocations: 343.4 kB / 0.7258 GB, free: 8.824 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.896e-05/0.3233, allocations: 39.86 kB / 0.7258 GB, free: 8.785 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005673/0.3239, allocations: 127.8 kB / 0.7259 GB, free: 8.66 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.517e-05/0.3239, allocations: 68 kB / 0.726 GB, free: 8.594 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009937/0.3249, allocations: 0.9778 MB / 0.7269 GB, free: 7.605 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.325, allocations: 111.3 kB / 0.727 GB, free: 7.496 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.3261, allocations: 1.239 MB / 0.7283 GB, free: 6.234 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.371e-06/0.3261, allocations: 9.078 kB / 0.7283 GB, free: 6.227 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.3261, allocations: 4 kB / 0.7283 GB, free: 6.223 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.3261, allocations: 7.922 kB / 0.7283 GB, free: 6.215 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003145/0.3292, allocations: 3.439 MB / 0.7316 GB, free: 2.688 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.3292, allocations: 4 kB / 0.7316 GB, free: 2.684 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003036/0.3295, allocations: 155.8 kB / 0.7318 GB, free: 2.531 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001788/0.3297, allocations: 147.5 kB / 0.7319 GB, free: 2.375 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.07e-05/0.3298, allocations: 20 kB / 0.7319 GB, free: 2.355 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.3298, allocations: 4 kB / 0.7319 GB, free: 2.352 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3298, allocations: 4 kB / 0.732 GB, free: 2.348 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009719/0.3307, allocations: 1.466 MB / 0.7334 GB, free: 0.8242 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000262/0.331, allocations: 195.8 kB / 0.7336 GB, free: 0.6328 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.391e-05/0.3311, allocations: 23.94 kB / 0.7336 GB, free: 0.6094 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003153/0.3314, allocations: 71.91 kB / 0.7337 GB, free: 0.5391 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.099e-05/0.3315, allocations: 60.42 kB / 0.7337 GB, free: 492 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/0.3315, allocations: 24 kB / 0.7337 GB, free: 468 kB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006106/0.3321, allocations: 0.6953 MB / 0.7344 GB, free: 15.75 MB / 0.573 GB Notification: Performance of sort global known variables: time 8e-08/0.3321, allocations: 0 / 0.7344 GB, free: 15.75 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001175/0.3333, allocations: 392 kB / 0.7348 GB, free: 15.37 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001534/0.3348, allocations: 2.038 MB / 0.7368 GB, free: 13.26 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001716/0.3365, allocations: 1.367 MB / 0.7381 GB, free: 11.89 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.3365, allocations: 0 / 0.7381 GB, free: 11.89 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005261/0.3371, allocations: 0.5261 MB / 0.7386 GB, free: 11.35 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009222/0.338, allocations: 282.8 kB / 0.7389 GB, free: 11.11 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/0.3517, allocations: 12.9 MB / 0.7515 GB, free: 13.47 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/0.3528, allocations: 1.333 MB / 0.7528 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0007554/0.3536, allocations: 448.6 kB / 0.7532 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005849/0.3541, allocations: 0.7112 MB / 0.7539 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of SimCode: time 1.082e-06/0.3541, allocations: 4 kB / 0.7539 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.041/0.3951, allocations: 29.26 MB / 0.7825 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.414/7.81, allocations: 11.28 kB / 0.7825 GB, free: 14.22 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.357655487954617] Failed to read output from testmodel.py, exit status != 0: 7.905701846815646 7.912816432 7.6299232 Calling exit ...