Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001325/0.001325, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001456/0.001456, allocations: 217.4 kB / 23.03 MB, free: 4.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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.002976/0.002976, allocations: 282.4 kB / 313.5 MB, free: 2.625 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.285/1.285, allocations: 180.6 MB / 0.5377 GB, free: 14.39 MB / 382.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.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",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.002923/0.002923, allocations: 92.83 kB / 0.7403 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.17, allocations: 95.38 MB / 0.8334 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005804/0.1758, allocations: 3.621 MB / 0.8369 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003382/0.1791, allocations: 1.758 MB / 0.8387 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002943/0.1794, allocations: 19.81 kB / 0.8387 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009382/0.1804, allocations: 270.6 kB / 0.8389 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007493/0.1811, allocations: 310.5 kB / 0.8392 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000635/0.1818, allocations: 247.5 kB / 0.8395 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008602/0.1826, allocations: 0.6091 MB / 0.8401 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004879/0.1831, allocations: 238.7 kB / 0.8403 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005024/0.1836, allocations: 255.1 kB / 0.8405 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004048/0.184, allocations: 239 kB / 0.8408 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.856e-05/0.1841, allocations: 28 kB / 0.8408 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000466/0.1845, allocations: 251.4 kB / 0.841 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.1847, allocations: 123.6 kB / 0.8411 GB, free: 400 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002227/0.1849, allocations: 171.1 kB / 0.8413 GB, free: 228 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008498/0.1858, allocations: 0.5953 MB / 0.8419 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.1858, allocations: 0 / 0.8419 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1858, allocations: 0 / 0.8419 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.906e-05/0.1858, allocations: 0 / 0.8419 GB, free: 15.62 MB / 0.5919 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.001274/0.1871, allocations: 0.6798 MB / 0.8425 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1871, allocations: 9.344 kB / 0.8426 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.292e-05/0.1872, allocations: 8.844 kB / 0.8426 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.885e-05/0.1872, allocations: 70.72 kB / 0.8426 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009248/0.1882, allocations: 140.5 kB / 0.8428 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006059/0.1888, allocations: 341.4 kB / 0.8431 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.1888, allocations: 21.03 kB / 0.8431 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.542e-05/0.1889, allocations: 32.36 kB / 0.8431 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009485/0.1898, allocations: 0.6376 MB / 0.8438 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.1898, allocations: 3.938 kB / 0.8438 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.301e-05/0.1899, allocations: 15.98 kB / 0.8438 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.997e-05/0.1899, allocations: 44.62 kB / 0.8438 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007551/0.1907, allocations: 410.1 kB / 0.8442 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002896/0.1936, allocations: 2.752 MB / 0.8469 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006802/0.1943, allocations: 306.5 kB / 0.8472 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003062/0.1946, allocations: 152.8 kB / 0.8473 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.1946, allocations: 7.938 kB / 0.8474 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.1946, allocations: 38.55 kB / 0.8474 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=26): time 1.893e-06/0.1946, allocations: 4 kB / 0.8474 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=27): time 0.002056/0.1967, allocations: 0.8334 MB / 0.8482 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/0.1968, allocations: 55.64 kB / 0.8483 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003825/0.1971, allocations: 341.6 kB / 0.8486 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.71e-05/0.1972, allocations: 37.69 kB / 0.8486 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.1974, allocations: 256 kB / 0.8489 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.148e-05/0.1975, allocations: 99.16 kB / 0.849 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.1976, allocations: 82.08 kB / 0.849 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.1978, allocations: 346.8 kB / 0.8494 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002991/0.1981, allocations: 144.8 kB / 0.8495 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004045/0.1985, allocations: 294.5 kB / 0.8498 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007389/0.1992, allocations: 478.6 kB / 0.8502 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.605e-06/0.1992, allocations: 8 kB / 0.8503 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00106/0.2003, allocations: 0.5578 MB / 0.8508 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.2003, allocations: 8 kB / 0.8508 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.2003, allocations: 4.625 kB / 0.8508 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003214/0.2006, allocations: 90.5 kB / 0.8509 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003616/0.201, allocations: 91.81 kB / 0.851 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/0.201, allocations: 11.94 kB / 0.851 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000266/0.2013, allocations: 31.97 kB / 0.851 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.2013, allocations: 15.98 kB / 0.851 GB, free: 5.734 MB / 0.5919 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.0002111/0.2015, allocations: 190.3 kB / 0.8512 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.899e-05/0.2016, allocations: 39.77 kB / 0.8513 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009389/0.2025, allocations: 464.3 kB / 0.8517 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.2025, allocations: 4 kB / 0.8517 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2025, allocations: 0 / 0.8517 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2025, allocations: 4 kB / 0.8517 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.204, allocations: 0.8966 MB / 0.8526 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.483e-06/0.204, allocations: 7.938 kB / 0.8526 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.2043, allocations: 51.89 kB / 0.8526 GB, free: 4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002705/0.2046, allocations: 74.52 kB / 0.8527 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.2046, allocations: 8 kB / 0.8527 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.2046, allocations: 3.938 kB / 0.8527 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.2046, allocations: 4 kB / 0.8527 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009253/0.2055, allocations: 0.547 MB / 0.8533 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.2057, allocations: 59.69 kB / 0.8533 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.929e-05/0.2057, allocations: 8 kB / 0.8533 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.206, allocations: 23.91 kB / 0.8534 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.86e-05/0.206, allocations: 23.95 kB / 0.8534 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.2061, allocations: 8 kB / 0.8534 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002636/0.2063, allocations: 239.2 kB / 0.8536 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2063, allocations: 3.938 kB / 0.8536 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004346/0.2068, allocations: 88 kB / 0.8537 GB, free: 2.879 MB / 0.5919 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.001329/0.2081, allocations: 1.084 MB / 0.8548 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008637/0.209, allocations: 407.1 kB / 0.8551 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.209, allocations: 0 / 0.8551 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000389/0.2093, allocations: 190.3 kB / 0.8553 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007177/0.2101, allocations: 139.6 kB / 0.8555 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005228/0.2153, allocations: 3.725 MB / 0.8591 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.2155, allocations: 227.7 kB / 0.8593 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000266/0.2158, allocations: 87.31 kB / 0.8594 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.216, allocations: 131.4 kB / 0.8595 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of SimCode: time 6.01e-07/0.216, allocations: 0 / 0.8595 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0347/0.2507, allocations: 9.116 MB / 0.8684 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.43, allocations: 11.23 kB / 0.8684 GB, free: 3.801 MB / 0.6075 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.712964759091847] Failed to read output from testmodel.py, exit status != 0: 12.596921878051944 12.614860753 12.425773518 Calling exit ...