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.00174/0.00174, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002089/0.002089, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.485/1.485, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.002614/0.002614, allocations: 288.3 kB / 309.8 MB, free: 3.48 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.076/1.076, allocations: 180.6 MB / 0.5338 GB, free: 12.34 MB / 398.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="cs",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.002889/0.002889, allocations: 99.86 kB / 0.7347 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5135/0.5164, allocations: 95.33 MB / 0.8278 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02126/0.5377, allocations: 16.28 MB / 0.8437 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01003/0.5477, allocations: 4.908 MB / 0.8485 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001539/0.5492, allocations: 84.91 kB / 0.8485 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003738/0.553, allocations: 1.064 MB / 0.8496 GB, free: 4 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00299/0.556, allocations: 0.78 MB / 0.8504 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003215/0.5592, allocations: 0.9172 MB / 0.8512 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0052/0.5644, allocations: 3.616 MB / 0.8548 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00518/0.5695, allocations: 3.553 MB / 0.8582 GB, free: 32 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003332/0.5729, allocations: 1.622 MB / 0.8598 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003693/0.5766, allocations: 1.885 MB / 0.8617 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0009917/0.5776, allocations: 338.9 kB / 0.862 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002542/0.5801, allocations: 0.8059 MB / 0.8628 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002312/0.5824, allocations: 1.359 MB / 0.8641 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003142/0.5856, allocations: 1.454 MB / 0.8655 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.008244/0.5938, allocations: 5.15 MB / 0.8706 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.5938, allocations: 5.156 kB / 0.8706 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.514e-06/0.5938, allocations: 0 / 0.8706 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001686/0.594, allocations: 0 / 0.8706 GB, free: 8.613 MB / 0.6075 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.008402/0.6024, allocations: 2.705 MB / 0.8732 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.6024, allocations: 13.12 kB / 0.8732 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001048/0.6025, allocations: 63.53 kB / 0.8733 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008791/0.6034, allocations: 379.5 kB / 0.8736 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004683/0.6081, allocations: 0.8439 MB / 0.8745 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003939/0.612, allocations: 1.575 MB / 0.876 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001992/0.6122, allocations: 176.8 kB / 0.8762 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009363/0.6132, allocations: 237.3 kB / 0.8764 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009984/0.6232, allocations: 4.161 MB / 0.8805 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.215e-05/0.6232, allocations: 5.047 kB / 0.8805 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003921/0.6236, allocations: 103 kB / 0.8806 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002328/0.6239, allocations: 168.8 kB / 0.8807 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008004/0.6319, allocations: 3.631 MB / 0.8843 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02419/0.6561, allocations: 16.45 MB / 0.9003 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003983/0.66, allocations: 2.234 MB / 0.9025 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/0.6611, allocations: 0.5513 MB / 0.9031 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001889/0.6613, allocations: 93.66 kB / 0.9031 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.6614, allocations: 47.06 kB / 0.9032 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=72): time 3.066e-06/0.6614, allocations: 0 / 0.9032 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.006903/0.6683, allocations: 3.514 MB / 0.9066 GB, free: 7.242 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.613e-05/0.6683, allocations: 111.5 kB / 0.9067 GB, free: 7.109 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/0.6699, allocations: 1.01 MB / 0.9077 GB, free: 6.074 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.981e-05/0.6699, allocations: 37.7 kB / 0.9078 GB, free: 6.031 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008551/0.6708, allocations: 1.138 MB / 0.9089 GB, free: 4.879 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003/0.6711, allocations: 297.6 kB / 0.9091 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004381/0.6715, allocations: 275.4 kB / 0.9094 GB, free: 4.312 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002476/0.6718, allocations: 422.7 kB / 0.9098 GB, free: 3.891 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009971/0.6728, allocations: 0.6129 MB / 0.9104 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001491/0.6743, allocations: 1.185 MB / 0.9116 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002578/0.6768, allocations: 1.86 MB / 0.9134 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/0.6769, allocations: 11.94 kB / 0.9134 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003567/0.6804, allocations: 2.023 MB / 0.9154 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.283e-05/0.6805, allocations: 16 kB / 0.9154 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.794e-05/0.6805, allocations: 27.98 kB / 0.9154 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004905/0.681, allocations: 163.3 kB / 0.9156 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.6822, allocations: 339.4 kB / 0.9159 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.631e-05/0.6823, allocations: 39.86 kB / 0.9159 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.6835, allocations: 131.8 kB / 0.9161 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.6836, allocations: 68 kB / 0.9161 GB, free: 12.87 MB / 0.6544 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.001712/0.6853, allocations: 0.9786 MB / 0.9171 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002953/0.6856, allocations: 123.2 kB / 0.9172 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00243/0.688, allocations: 1.226 MB / 0.9184 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.688, allocations: 8 kB / 0.9184 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.688, allocations: 0 / 0.9184 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.661e-05/0.6881, allocations: 7.984 kB / 0.9184 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007051/0.6951, allocations: 3.794 MB / 0.9221 GB, free: 6.559 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.6951, allocations: 4.25 kB / 0.9221 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000671/0.6958, allocations: 159.8 kB / 0.9223 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004103/0.6962, allocations: 143.3 kB / 0.9224 GB, free: 6.246 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.439e-05/0.6963, allocations: 19.92 kB / 0.9224 GB, free: 6.227 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.221e-05/0.6963, allocations: 8 kB / 0.9224 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.6963, allocations: 4 kB / 0.9224 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002431/0.6987, allocations: 1.474 MB / 0.9239 GB, free: 4.684 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005853/0.6993, allocations: 276.3 kB / 0.9241 GB, free: 4.395 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.6995, allocations: 16 kB / 0.9242 GB, free: 4.379 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006274/0.7001, allocations: 64 kB / 0.9242 GB, free: 4.316 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.7002, allocations: 72.34 kB / 0.9243 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.875e-05/0.7003, allocations: 20 kB / 0.9243 GB, free: 4.227 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001085/0.7014, allocations: 0.6953 MB / 0.925 GB, free: 3.52 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.7014, allocations: 0 / 0.925 GB, free: 3.52 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001739/0.7031, allocations: 388 kB / 0.9254 GB, free: 3.141 MB / 0.6544 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.002734/0.7058, allocations: 2.045 MB / 0.9273 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002741/0.7086, allocations: 1.656 MB / 0.929 GB, free: 15.29 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.7086, allocations: 384 / 0.929 GB, free: 15.29 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001148/0.7097, allocations: 0.8384 MB / 0.9298 GB, free: 14.37 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/0.7114, allocations: 275.3 kB / 0.93 GB, free: 14.11 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02079/0.7322, allocations: 12.9 MB / 0.9426 GB, free: 480 kB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002138/0.7344, allocations: 1.919 MB / 0.9445 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001143/0.7355, allocations: 449.4 kB / 0.9449 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/0.7365, allocations: 0.7102 MB / 0.9456 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of SimCode: time 1.292e-06/0.7365, allocations: 4 kB / 0.9456 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05994/0.7965, allocations: 28.13 MB / 0.9731 GB, free: 1.605 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.65, allocations: 8.312 kB / 0.9731 GB, free: 1.598 MB / 0.7012 GB " [Timeout remaining time 647] (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 os._exit(0), Time elapsed: 16.701456791022792] Failed to read output from testmodel.py, exit status != 0: 12.806936577952001 12.829897715 12.231500719 Calling exit ...