Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.001868/0.001868, allocations: 117.3 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.002234/0.002234, allocations: 206.2 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.515/1.515, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.026/3.026, allocations: 0.5003 GB / 0.8026 GB, free: 6.801 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",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.002058/0.002058, allocations: 63.91 kB / 1.165 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9234/0.9254, allocations: 178.9 MB / 1.34 GB, free: 16.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004532/0.93, allocations: 3.801 MB / 1.344 GB, free: 13.67 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002647/0.9326, allocations: 1.845 MB / 1.346 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000226/0.9328, allocations: 25.12 kB / 1.346 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008197/0.9337, allocations: 276.4 kB / 1.346 GB, free: 12.22 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005971/0.9343, allocations: 304.6 kB / 1.346 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005609/0.9348, allocations: 247.2 kB / 1.346 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006804/0.9355, allocations: 0.6077 MB / 1.347 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004037/0.9359, allocations: 211.2 kB / 1.347 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004428/0.9364, allocations: 253.1 kB / 1.347 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003496/0.9367, allocations: 247.4 kB / 1.348 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.103e-05/0.9368, allocations: 26.41 kB / 1.348 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005256/0.9373, allocations: 279 kB / 1.348 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.9374, allocations: 125.6 kB / 1.348 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000191/0.9376, allocations: 207.1 kB / 1.348 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007828/0.9384, allocations: 0.6072 MB / 1.349 GB, free: 10.84 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.9384, allocations: 0.7031 kB / 1.349 GB, free: 10.84 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9384, allocations: 0 / 1.349 GB, free: 10.84 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.814e-05/0.9384, allocations: 1.125 kB / 1.349 GB, free: 10.84 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001156/0.9396, allocations: 0.7462 MB / 1.35 GB, free: 10.25 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.9396, allocations: 8.938 kB / 1.35 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.685e-05/0.9397, allocations: 13.02 kB / 1.35 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.989e-05/0.9397, allocations: 66.91 kB / 1.35 GB, free: 10.19 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009565/0.9407, allocations: 145.4 kB / 1.35 GB, free: 10.15 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005385/0.9412, allocations: 415.3 kB / 1.35 GB, free: 9.844 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.9412, allocations: 25.36 kB / 1.35 GB, free: 9.832 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.102e-05/0.9413, allocations: 27.41 kB / 1.35 GB, free: 9.824 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007922/0.9421, allocations: 0.5549 MB / 1.351 GB, free: 9.477 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.9421, allocations: 2.797 kB / 1.351 GB, free: 9.477 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.901e-05/0.9422, allocations: 17.11 kB / 1.351 GB, free: 9.465 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-05/0.9422, allocations: 44.72 kB / 1.351 GB, free: 9.457 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007199/0.9429, allocations: 408 kB / 1.351 GB, free: 9.324 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002304/0.9452, allocations: 3.339 MB / 1.355 GB, free: 6.344 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006886/0.9459, allocations: 318.8 kB / 1.355 GB, free: 6.219 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/0.9462, allocations: 156.5 kB / 1.355 GB, free: 6.168 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.9463, allocations: 3.281 kB / 1.355 GB, free: 6.168 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.457e-05/0.9463, allocations: 35.66 kB / 1.355 GB, free: 6.125 MB / 1.061 GB Notification: Performance of pre-optimization done (n=26): time 1.854e-06/0.9463, allocations: 1.125 kB / 1.355 GB, free: 6.125 MB / 1.061 GB Notification: Performance of matching and sorting (n=27): time 0.002087/0.9484, allocations: 1.062 MB / 1.356 GB, free: 5.508 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.9484, allocations: 58.95 kB / 1.356 GB, free: 5.441 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003363/0.9487, allocations: 343.5 kB / 1.356 GB, free: 5.262 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.9488, allocations: 31.11 kB / 1.357 GB, free: 5.227 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.9489, allocations: 258.1 kB / 1.357 GB, free: 5.008 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.31e-05/0.9489, allocations: 91.69 kB / 1.357 GB, free: 4.938 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.949, allocations: 78.75 kB / 1.357 GB, free: 4.891 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.694e-05/0.9491, allocations: 346.7 kB / 1.357 GB, free: 4.562 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/0.9494, allocations: 150.6 kB / 1.357 GB, free: 4.516 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003326/0.9497, allocations: 290.9 kB / 1.358 GB, free: 4.285 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00062/0.9503, allocations: 483 kB / 1.358 GB, free: 3.961 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.9504, allocations: 2.172 kB / 1.358 GB, free: 3.961 MB / 1.061 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000987/0.9513, allocations: 0.5637 MB / 1.359 GB, free: 3.711 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.9514, allocations: 7.578 kB / 1.359 GB, free: 3.711 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.9514, allocations: 8.438 kB / 1.359 GB, free: 3.707 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003307/0.9517, allocations: 84.34 kB / 1.359 GB, free: 3.672 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/0.9521, allocations: 92 kB / 1.359 GB, free: 3.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.9521, allocations: 15.11 kB / 1.359 GB, free: 3.652 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002891/0.9524, allocations: 25.88 kB / 1.359 GB, free: 3.648 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.9524, allocations: 19.47 kB / 1.359 GB, free: 3.645 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {(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.0001639/0.9526, allocations: 182.3 kB / 1.359 GB, free: 3.488 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.884e-05/0.9526, allocations: 39.48 kB / 1.359 GB, free: 3.469 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008954/0.9535, allocations: 466.6 kB / 1.36 GB, free: 3.262 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.9535, allocations: 6.672 kB / 1.36 GB, free: 3.258 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.9535, allocations: 1.312 kB / 1.36 GB, free: 3.258 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.9535, allocations: 2.578 kB / 1.36 GB, free: 3.258 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.955, allocations: 0.9686 MB / 1.361 GB, free: 2.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.955, allocations: 1.906 kB / 1.361 GB, free: 2.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.9552, allocations: 49.75 kB / 1.361 GB, free: 2.676 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002528/0.9555, allocations: 83.97 kB / 1.361 GB, free: 2.637 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.9555, allocations: 5.438 kB / 1.361 GB, free: 2.633 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.9555, allocations: 7.578 kB / 1.361 GB, free: 2.629 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.9555, allocations: 1.5 kB / 1.361 GB, free: 2.629 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008249/0.9563, allocations: 0.5459 MB / 1.361 GB, free: 2.309 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.9565, allocations: 139.7 kB / 1.361 GB, free: 2.184 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.074e-05/0.9565, allocations: 6.344 kB / 1.361 GB, free: 2.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.9568, allocations: 26.33 kB / 1.361 GB, free: 2.172 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.659e-05/0.9569, allocations: 26.86 kB / 1.361 GB, free: 2.164 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.9569, allocations: 6.094 kB / 1.361 GB, free: 2.164 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002389/0.9571, allocations: 238.7 kB / 1.362 GB, free: 2.035 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9571, allocations: 0 / 1.362 GB, free: 2.035 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004734/0.9576, allocations: 89.28 kB / 1.362 GB, free: 2.023 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {(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.001038/0.9586, allocations: 1.086 MB / 1.363 GB, free: 1.172 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008817/0.9595, allocations: 0.6113 MB / 1.363 GB, free: 0.7539 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.9595, allocations: 0 / 1.363 GB, free: 0.7539 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000389/0.9599, allocations: 424.3 kB / 1.364 GB, free: 408 kB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007533/0.9607, allocations: 125.3 kB / 1.364 GB, free: 368 kB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00553/0.9662, allocations: 3.738 MB / 1.368 GB, free: 13.91 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005356/0.9667, allocations: 0.8256 MB / 1.368 GB, free: 13.2 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000335/0.9671, allocations: 89.33 kB / 1.368 GB, free: 13.17 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000218/0.9673, allocations: 128.1 kB / 1.369 GB, free: 13.08 MB / 1.076 GB Notification: Performance of SimCode: time 1.052e-06/0.9673, allocations: 0 / 1.369 GB, free: 13.08 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03149/0.9988, allocations: 8.414 MB / 1.377 GB, free: 12.28 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.84, allocations: 7.656 kB / 1.377 GB, free: 12.28 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.36409896000987] Failed to read output from testmodel.py, exit status != 0: 11.98740279499907 12.010548155 11.067799075 Calling exit ...