Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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.001842/0.001842, allocations: 119.6 kB / 17.16 MB, free: 5.914 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.002334/0.002334, allocations: 211 kB / 20.13 MB, free: 2.969 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.544/1.544, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.913/2.913, allocations: 0.49 GB / 0.7923 GB, free: 1.277 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002113/0.002113, allocations: 66.09 kB / 1.15 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8972/0.8993, allocations: 176.1 MB / 1.321 GB, free: 24.71 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01611/0.9154, allocations: 16.29 MB / 1.337 GB, free: 13.73 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.008364/0.9238, allocations: 4.918 MB / 1.342 GB, free: 10.34 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001699/0.9255, allocations: 84.75 kB / 1.342 GB, free: 10.3 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002898/0.9284, allocations: 1.058 MB / 1.343 GB, free: 9.672 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00274/0.9311, allocations: 0.7764 MB / 1.344 GB, free: 9.199 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002887/0.934, allocations: 0.9314 MB / 1.345 GB, free: 8.676 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004972/0.939, allocations: 3.615 MB / 1.348 GB, free: 7.078 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006295/0.9453, allocations: 3.543 MB / 1.352 GB, free: 5.707 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003304/0.9486, allocations: 1.626 MB / 1.354 GB, free: 4.965 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003562/0.9521, allocations: 1.882 MB / 1.355 GB, free: 4.18 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001379/0.9535, allocations: 338.7 kB / 1.356 GB, free: 4.18 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003038/0.9565, allocations: 0.8151 MB / 1.356 GB, free: 4 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002855/0.9594, allocations: 1.35 MB / 1.358 GB, free: 3.43 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.003495/0.9629, allocations: 1.456 MB / 1.359 GB, free: 2.484 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.009492/0.9724, allocations: 5.15 MB / 1.364 GB, free: 0.8672 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.156e-06/0.9724, allocations: 0.5625 kB / 1.364 GB, free: 0.8672 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.814e-06/0.9724, allocations: 0 / 1.364 GB, free: 0.8672 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002115/0.9726, allocations: 5.344 kB / 1.364 GB, free: 0.8633 MB / 1.061 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.01157/0.9842, allocations: 2.714 MB / 1.367 GB, free: 15.25 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/0.9842, allocations: 18.22 kB / 1.367 GB, free: 15.24 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001389/0.9844, allocations: 68.06 kB / 1.367 GB, free: 15.23 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001646/0.986, allocations: 371.3 kB / 1.367 GB, free: 15.02 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005632/0.9916, allocations: 0.8374 MB / 1.368 GB, free: 14.85 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004965/0.9966, allocations: 1.577 MB / 1.37 GB, free: 14.02 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002606/0.9969, allocations: 180.1 kB / 1.37 GB, free: 13.93 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001221/0.9981, allocations: 230.4 kB / 1.37 GB, free: 13.86 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0116/1.01, allocations: 4.158 MB / 1.374 GB, free: 12.23 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001112/1.01, allocations: 6.516 kB / 1.374 GB, free: 12.23 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008188/1.011, allocations: 101.9 kB / 1.374 GB, free: 12.15 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000271/1.011, allocations: 174.3 kB / 1.374 GB, free: 12.12 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008244/1.019, allocations: 3.633 MB / 1.378 GB, free: 10.94 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02539/1.045, allocations: 16.44 MB / 1.394 GB, free: 14.39 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003891/1.048, allocations: 2.236 MB / 1.396 GB, free: 13 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001004/1.049, allocations: 0.5488 MB / 1.397 GB, free: 12.8 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000179/1.05, allocations: 105.3 kB / 1.397 GB, free: 12.7 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/1.05, allocations: 39.12 kB / 1.397 GB, free: 12.66 MB / 1.092 GB Notification: Performance of pre-optimization done (n=72): time 2.975e-06/1.05, allocations: 0 / 1.397 GB, free: 12.66 MB / 1.092 GB Notification: Performance of matching and sorting (n=76): time 0.007845/1.057, allocations: 3.504 MB / 1.4 GB, free: 10.66 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.141e-05/1.058, allocations: 115.8 kB / 1.4 GB, free: 10.52 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001967/1.06, allocations: 1.018 MB / 1.401 GB, free: 10.11 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001185/1.06, allocations: 40.02 kB / 1.401 GB, free: 10.06 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001097/1.061, allocations: 1.139 MB / 1.403 GB, free: 9.148 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004181/1.061, allocations: 283.3 kB / 1.403 GB, free: 8.906 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005662/1.062, allocations: 281.8 kB / 1.403 GB, free: 8.742 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002942/1.062, allocations: 419.2 kB / 1.404 GB, free: 8.352 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/1.063, allocations: 0.6212 MB / 1.404 GB, free: 8.035 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/1.065, allocations: 1.189 MB / 1.405 GB, free: 6.949 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002762/1.068, allocations: 1.859 MB / 1.407 GB, free: 5.492 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.812e-05/1.068, allocations: 5.188 kB / 1.407 GB, free: 5.492 MB / 1.092 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003908/1.072, allocations: 2.024 MB / 1.409 GB, free: 4.43 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.713e-05/1.072, allocations: 13.06 kB / 1.409 GB, free: 4.43 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.207e-05/1.072, allocations: 23.97 kB / 1.409 GB, free: 4.426 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004632/1.072, allocations: 158.8 kB / 1.409 GB, free: 4.336 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/1.073, allocations: 348.3 kB / 1.41 GB, free: 4.242 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.848e-05/1.073, allocations: 38.14 kB / 1.41 GB, free: 4.23 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/1.075, allocations: 129.7 kB / 1.41 GB, free: 4.164 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001548/1.075, allocations: 72.2 kB / 1.41 GB, free: 4.148 MB / 1.092 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.001834/1.077, allocations: 0.9735 MB / 1.411 GB, free: 3.531 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004017/1.077, allocations: 117.2 kB / 1.411 GB, free: 3.469 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002423/1.079, allocations: 1.229 MB / 1.412 GB, free: 2.754 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/1.079, allocations: 9 kB / 1.412 GB, free: 2.754 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/1.08, allocations: 1.312 kB / 1.412 GB, free: 2.754 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/1.08, allocations: 9.641 kB / 1.412 GB, free: 2.746 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008311/1.088, allocations: 3.796 MB / 1.416 GB, free: 332 kB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/1.088, allocations: 6.875 kB / 1.416 GB, free: 328 kB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000662/1.089, allocations: 160.5 kB / 1.416 GB, free: 280 kB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004135/1.089, allocations: 138.1 kB / 1.416 GB, free: 188 kB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.426e-05/1.089, allocations: 13.5 kB / 1.416 GB, free: 180 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.756e-05/1.089, allocations: 13.75 kB / 1.416 GB, free: 172 kB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/1.089, allocations: 2.75 kB / 1.416 GB, free: 172 kB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00249/1.092, allocations: 1.473 MB / 1.418 GB, free: 15.2 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006535/1.092, allocations: 283.7 kB / 1.418 GB, free: 14.97 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/1.092, allocations: 13.97 kB / 1.418 GB, free: 14.96 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006277/1.093, allocations: 70.2 kB / 1.418 GB, free: 14.92 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/1.093, allocations: 55.47 kB / 1.418 GB, free: 14.89 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.003e-05/1.093, allocations: 28.14 kB / 1.418 GB, free: 14.88 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001036/1.094, allocations: 0.693 MB / 1.419 GB, free: 14.48 MB / 1.107 GB Notification: Performance of sort global known variables: time 8.1e-08/1.094, allocations: 1.031 kB / 1.419 GB, free: 14.48 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001835/1.096, allocations: 387.4 kB / 1.419 GB, free: 14.45 MB / 1.107 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.002729/1.099, allocations: 2.037 MB / 1.421 GB, free: 12.94 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002762/1.102, allocations: 1.664 MB / 1.423 GB, free: 11.88 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/1.102, allocations: 6.594 kB / 1.423 GB, free: 11.88 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001075/1.103, allocations: 0.8304 MB / 1.423 GB, free: 11.22 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001736/1.104, allocations: 273.5 kB / 1.424 GB, free: 11.07 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02332/1.128, allocations: 12.9 MB / 1.436 GB, free: 244 kB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002234/1.13, allocations: 1.916 MB / 1.438 GB, free: 14.29 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001266/1.131, allocations: 453.4 kB / 1.439 GB, free: 13.84 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/1.132, allocations: 0.7102 MB / 1.439 GB, free: 13.13 MB / 1.123 GB Notification: Performance of SimCode: time 1.583e-06/1.132, allocations: 0 / 1.439 GB, free: 13.13 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0876/1.22, allocations: 28.1 MB / 1.467 GB, free: 1.41 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/13.06, allocations: 18.98 kB / 1.467 GB, free: 1.395 MB / 1.139 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.6510264200042] Failed to read output from testmodel.py, exit status != 0: 13.217802064027637 13.233791312 12.257940805 Calling exit ...