Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001531/0.001531, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001658/0.001658, allocations: 215 kB / 20.13 MB, free: 2.949 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.531/1.531, 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 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 3.221/3.221, allocations: 0.49 GB / 0.7923 GB, free: 1.461 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.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_12_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.002072/0.002072, allocations: 64.14 kB / 1.15 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.005, allocations: 176.1 MB / 1.321 GB, free: 24.78 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004502/1.01, allocations: 3.789 MB / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00268/1.013, allocations: 1.851 MB / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003231/1.013, allocations: 24.12 kB / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008473/1.014, allocations: 270.6 kB / 1.327 GB, free: 20.72 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006765/1.014, allocations: 313.2 kB / 1.328 GB, free: 20.54 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000556/1.015, allocations: 252.5 kB / 1.328 GB, free: 20.42 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008132/1.016, allocations: 0.6067 MB / 1.328 GB, free: 20.13 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004135/1.016, allocations: 215 kB / 1.329 GB, free: 20.03 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004532/1.017, allocations: 246.6 kB / 1.329 GB, free: 19.93 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003537/1.017, allocations: 247.8 kB / 1.329 GB, free: 19.83 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.084e-05/1.017, allocations: 25.97 kB / 1.329 GB, free: 19.83 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005278/1.018, allocations: 281.4 kB / 1.329 GB, free: 19.73 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001387/1.018, allocations: 129 kB / 1.329 GB, free: 19.67 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002097/1.018, allocations: 211.2 kB / 1.33 GB, free: 19.55 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008855/1.019, allocations: 0.5901 MB / 1.33 GB, free: 19.33 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.019, allocations: 5.781 kB / 1.33 GB, free: 19.33 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.623e-06/1.019, allocations: 0 / 1.33 GB, free: 19.33 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.179e-05/1.019, allocations: 0 / 1.33 GB, free: 19.33 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.001277/1.02, allocations: 0.7494 MB / 1.331 GB, free: 18.73 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/1.02, allocations: 12.8 kB / 1.331 GB, free: 18.73 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.891e-05/1.02, allocations: 8.938 kB / 1.331 GB, free: 18.73 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.322e-05/1.02, allocations: 71.09 kB / 1.331 GB, free: 18.67 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/1.021, allocations: 141.4 kB / 1.331 GB, free: 18.63 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006129/1.022, allocations: 414.1 kB / 1.332 GB, free: 18.33 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/1.022, allocations: 25.55 kB / 1.332 GB, free: 18.32 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.686e-05/1.022, allocations: 31.77 kB / 1.332 GB, free: 18.3 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008902/1.023, allocations: 0.5498 MB / 1.332 GB, free: 17.95 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/1.023, allocations: 2.875 kB / 1.332 GB, free: 17.95 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.151e-05/1.023, allocations: 17.02 kB / 1.332 GB, free: 17.94 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.272e-05/1.023, allocations: 40.39 kB / 1.332 GB, free: 17.94 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008339/1.024, allocations: 411.9 kB / 1.333 GB, free: 17.8 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002739/1.027, allocations: 3.342 MB / 1.336 GB, free: 14.82 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006884/1.027, allocations: 314 kB / 1.336 GB, free: 14.7 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003357/1.028, allocations: 161.6 kB / 1.336 GB, free: 14.64 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/1.028, allocations: 3.375 kB / 1.336 GB, free: 14.64 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/1.028, allocations: 32.38 kB / 1.336 GB, free: 14.6 MB / 1.061 GB Notification: Performance of pre-optimization done (n=26): time 2.525e-06/1.028, allocations: 0 / 1.336 GB, free: 14.6 MB / 1.061 GB Notification: Performance of matching and sorting (n=27): time 0.002712/1.03, allocations: 1.058 MB / 1.337 GB, free: 13.99 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/1.03, allocations: 63.84 kB / 1.338 GB, free: 13.92 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004217/1.031, allocations: 339 kB / 1.338 GB, free: 13.73 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/1.031, allocations: 31.05 kB / 1.338 GB, free: 13.7 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/1.031, allocations: 253.4 kB / 1.338 GB, free: 13.48 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.721e-05/1.031, allocations: 99.92 kB / 1.338 GB, free: 13.41 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/1.031, allocations: 79 kB / 1.338 GB, free: 13.36 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.437e-05/1.031, allocations: 346.9 kB / 1.339 GB, free: 13.03 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002982/1.032, allocations: 150.8 kB / 1.339 GB, free: 12.98 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003183/1.032, allocations: 289 kB / 1.339 GB, free: 12.76 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005989/1.033, allocations: 480.8 kB / 1.339 GB, free: 12.44 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.033, allocations: 7.062 kB / 1.339 GB, free: 12.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001036/1.034, allocations: 0.564 MB / 1.34 GB, free: 12.18 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/1.034, allocations: 6.594 kB / 1.34 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/1.034, allocations: 12.66 kB / 1.34 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003473/1.034, allocations: 83.84 kB / 1.34 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003868/1.034, allocations: 88.67 kB / 1.34 GB, free: 12.13 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/1.034, allocations: 19.78 kB / 1.34 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003414/1.035, allocations: 30.7 kB / 1.34 GB, free: 12.11 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/1.035, allocations: 13.88 kB / 1.34 GB, free: 12.11 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.0002026/1.035, allocations: 177.9 kB / 1.34 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.03e-05/1.035, allocations: 39.98 kB / 1.34 GB, free: 11.94 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009459/1.036, allocations: 466.9 kB / 1.341 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/1.036, allocations: 3.031 kB / 1.341 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/1.036, allocations: 5.031 kB / 1.341 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/1.036, allocations: 2.016 kB / 1.341 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/1.038, allocations: 0.9611 MB / 1.342 GB, free: 11.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/1.038, allocations: 1.25 kB / 1.342 GB, free: 11.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002722/1.038, allocations: 51.5 kB / 1.342 GB, free: 11.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000264/1.038, allocations: 82.28 kB / 1.342 GB, free: 11.12 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/1.038, allocations: 10.95 kB / 1.342 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/1.038, allocations: 1.812 kB / 1.342 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/1.038, allocations: 1.094 kB / 1.342 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009208/1.039, allocations: 0.5479 MB / 1.343 GB, free: 10.79 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002356/1.039, allocations: 136.1 kB / 1.343 GB, free: 10.67 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.247e-05/1.039, allocations: 7.516 kB / 1.343 GB, free: 10.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/1.04, allocations: 25.27 kB / 1.343 GB, free: 10.66 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.714e-05/1.04, allocations: 26.86 kB / 1.343 GB, free: 10.65 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/1.04, allocations: 5.797 kB / 1.343 GB, free: 10.65 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003076/1.04, allocations: 238.1 kB / 1.343 GB, free: 10.52 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.04, allocations: 4 kB / 1.343 GB, free: 10.52 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005612/1.041, allocations: 85.73 kB / 1.343 GB, free: 10.51 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.001257/1.042, allocations: 1.095 MB / 1.344 GB, free: 9.656 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001019/1.043, allocations: 0.6138 MB / 1.345 GB, free: 9.234 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.043, allocations: 0 / 1.345 GB, free: 9.234 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000463/1.043, allocations: 422.1 kB / 1.345 GB, free: 8.883 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009091/1.044, allocations: 137 kB / 1.345 GB, free: 8.832 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005207/1.049, allocations: 3.735 MB / 1.349 GB, free: 6.383 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/1.05, allocations: 0.8272 MB / 1.35 GB, free: 5.672 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003209/1.05, allocations: 83.86 kB / 1.35 GB, free: 5.652 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/1.05, allocations: 127.8 kB / 1.35 GB, free: 5.559 MB / 1.061 GB Notification: Performance of SimCode: time 1.032e-06/1.05, allocations: 0 / 1.35 GB, free: 5.559 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03783/1.088, allocations: 8.389 MB / 1.358 GB, free: 4.754 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/12.04, allocations: 9.812 kB / 1.358 GB, free: 4.75 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.749995721969754] Failed to read output from testmodel.py, exit status != 0: 12.188100301020313 12.201113311 11.17908996 Calling exit ...