Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001835/0.001835, 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.002066/0.002066, 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.577/1.577, 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/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.032/3.032, allocations: 476.7 MB / 0.7678 GB, free: 9.352 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_11_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.002351/0.002351, allocations: 63.91 kB / 1.113 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9056/0.908, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006621/0.9146, allocations: 3.812 MB / 1.283 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00391/0.9185, allocations: 1.858 MB / 1.284 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004334/0.9189, allocations: 25.34 kB / 1.284 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.92, allocations: 263.7 kB / 1.285 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001419/0.9214, allocations: 312.1 kB / 1.285 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.9227, allocations: 245.1 kB / 1.285 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001294/0.9239, allocations: 0.6087 MB / 1.286 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005498/0.9245, allocations: 211.6 kB / 1.286 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000658/0.9252, allocations: 248.1 kB / 1.286 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000462/0.9256, allocations: 248 kB / 1.287 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.389e-05/0.9257, allocations: 26.72 kB / 1.287 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007867/0.9265, allocations: 286.7 kB / 1.287 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002139/0.9267, allocations: 126 kB / 1.287 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002859/0.927, allocations: 210.6 kB / 1.287 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.928, allocations: 0.5873 MB / 1.288 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.928, allocations: 7.938 kB / 1.288 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.314e-06/0.928, allocations: 0 / 1.288 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.928, allocations: 1.844 kB / 1.288 GB, free: 6.258 MB / 0.9981 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.00163/0.9296, allocations: 0.7439 MB / 1.288 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.9297, allocations: 15.06 kB / 1.288 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.188e-05/0.9297, allocations: 7.5 kB / 1.288 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001059/0.9298, allocations: 75.45 kB / 1.289 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009946/0.9308, allocations: 137.4 kB / 1.289 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007621/0.9316, allocations: 402.2 kB / 1.289 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/0.9316, allocations: 32.77 kB / 1.289 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.414e-05/0.9317, allocations: 28.12 kB / 1.289 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.9327, allocations: 0.5493 MB / 1.29 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/0.9327, allocations: 7.328 kB / 1.29 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.258e-05/0.9328, allocations: 16 kB / 1.29 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.801e-05/0.9329, allocations: 41.61 kB / 1.29 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008714/0.9337, allocations: 408.7 kB / 1.29 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003813/0.9375, allocations: 3.339 MB / 1.293 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007927/0.9383, allocations: 309.1 kB / 1.294 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003559/0.9387, allocations: 163.9 kB / 1.294 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.204e-05/0.9387, allocations: 7.875 kB / 1.294 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.9388, allocations: 31.78 kB / 1.294 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 2.354e-06/0.9388, allocations: 0 / 1.294 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of matching and sorting (n=27): time 0.002699/0.9415, allocations: 1.069 MB / 1.295 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.9415, allocations: 54.69 kB / 1.295 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00047/0.942, allocations: 340.1 kB / 1.295 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.942, allocations: 31.08 kB / 1.295 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/0.9422, allocations: 257.4 kB / 1.296 GB, free: 440 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.9423, allocations: 99.86 kB / 1.296 GB, free: 360 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.9425, allocations: 78.64 kB / 1.296 GB, free: 312 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002101/0.9427, allocations: 347.1 kB / 1.296 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003148/0.943, allocations: 146.4 kB / 1.296 GB, free: 15.93 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004454/0.9435, allocations: 295.2 kB / 1.296 GB, free: 15.7 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008067/0.9443, allocations: 480.3 kB / 1.297 GB, free: 15.38 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.9443, allocations: 1.062 kB / 1.297 GB, free: 15.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00122/0.9455, allocations: 0.5606 MB / 1.298 GB, free: 15.14 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.9455, allocations: 9.312 kB / 1.298 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.9455, allocations: 10.03 kB / 1.298 GB, free: 15.13 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003777/0.9459, allocations: 92.08 kB / 1.298 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003897/0.9463, allocations: 82.88 kB / 1.298 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.714e-05/0.9463, allocations: 16.06 kB / 1.298 GB, free: 15.08 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003685/0.9467, allocations: 29.11 kB / 1.298 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.406e-05/0.9467, allocations: 18.94 kB / 1.298 GB, free: 15.07 MB / 1.014 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.0002869/0.947, allocations: 178.3 kB / 1.298 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.9471, allocations: 43.31 kB / 1.298 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.9482, allocations: 467.7 kB / 1.298 GB, free: 14.68 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.9482, allocations: 7.234 kB / 1.298 GB, free: 14.68 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.9482, allocations: 1.625 kB / 1.298 GB, free: 14.68 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.9482, allocations: 5.547 kB / 1.298 GB, free: 14.68 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002027/0.9503, allocations: 0.9544 MB / 1.299 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.9503, allocations: 1.344 kB / 1.299 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002855/0.9505, allocations: 55.48 kB / 1.299 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003039/0.9508, allocations: 82.47 kB / 1.299 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.9509, allocations: 5.875 kB / 1.299 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.536e-06/0.9509, allocations: 3.094 kB / 1.299 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.9509, allocations: 1.312 kB / 1.299 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.952, allocations: 0.546 MB / 1.3 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002552/0.9523, allocations: 140.3 kB / 1.3 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.9524, allocations: 6.969 kB / 1.3 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003089/0.9527, allocations: 20.98 kB / 1.3 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.9528, allocations: 31.39 kB / 1.3 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.9528, allocations: 10.34 kB / 1.3 GB, free: 13.59 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003725/0.9532, allocations: 234.3 kB / 1.3 GB, free: 13.47 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9532, allocations: 1.531 kB / 1.3 GB, free: 13.47 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006144/0.9538, allocations: 83.72 kB / 1.301 GB, free: 13.46 MB / 1.014 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.001628/0.9554, allocations: 1.1 MB / 1.302 GB, free: 12.6 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001319/0.9567, allocations: 0.615 MB / 1.302 GB, free: 12.18 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.9567, allocations: 1.625 kB / 1.302 GB, free: 12.18 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006294/0.9574, allocations: 436.5 kB / 1.303 GB, free: 11.81 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009432/0.9583, allocations: 125.1 kB / 1.303 GB, free: 11.77 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007066/0.9654, allocations: 3.731 MB / 1.306 GB, free: 9.324 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006517/0.966, allocations: 0.8255 MB / 1.307 GB, free: 8.609 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003919/0.9664, allocations: 81.7 kB / 1.307 GB, free: 8.594 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002593/0.9667, allocations: 131.6 kB / 1.307 GB, free: 8.496 MB / 1.014 GB Notification: Performance of SimCode: time 9.42e-07/0.9667, allocations: 1.281 kB / 1.307 GB, free: 8.496 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03864/1.005, allocations: 8.412 MB / 1.316 GB, free: 6.973 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.82, allocations: 7.406 kB / 1.316 GB, free: 6.969 MB / 1.014 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.365560893027578] Failed to read output from testmodel.py, exit status != 0: 11.965391750039998 11.982336688 11.050933642 Calling exit ...