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.001308/0.001308, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.001507/0.001507, allocations: 217 kB / 23.04 MB, free: 5.074 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 8 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.00257/0.00257, allocations: 289.5 kB / 313.5 MB, free: 2.797 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.225/1.225, allocations: 180.6 MB / 0.5377 GB, free: 13.01 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.002852/0.002852, allocations: 90.14 kB / 0.7404 GB, free: 28.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1639, allocations: 95.38 MB / 0.8335 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005732/0.1696, allocations: 3.876 MB / 0.8373 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003296/0.1729, allocations: 1.879 MB / 0.8391 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003137/0.1732, allocations: 23.75 kB / 0.8391 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009434/0.1741, allocations: 277 kB / 0.8394 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007208/0.1749, allocations: 314.4 kB / 0.8397 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006043/0.1755, allocations: 255.4 kB / 0.84 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007351/0.1762, allocations: 0.6052 MB / 0.8405 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003961/0.1766, allocations: 230.9 kB / 0.8408 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000415/0.177, allocations: 259 kB / 0.841 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003629/0.1774, allocations: 246.9 kB / 0.8412 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.051e-05/0.1774, allocations: 31.94 kB / 0.8413 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005/0.1779, allocations: 279.4 kB / 0.8415 GB, free: 380 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001418/0.1781, allocations: 131.6 kB / 0.8417 GB, free: 248 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002/0.1783, allocations: 206.9 kB / 0.8419 GB, free: 40 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007527/0.179, allocations: 0.5876 MB / 0.8424 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.179, allocations: 3.938 kB / 0.8424 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.212e-06/0.179, allocations: 0 / 0.8424 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.179, allocations: 0 / 0.8424 GB, free: 15.44 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.001198/0.1802, allocations: 0.6682 MB / 0.8431 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.1803, allocations: 13.34 kB / 0.8431 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.84e-05/0.1803, allocations: 8.844 kB / 0.8431 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.562e-05/0.1804, allocations: 74.72 kB / 0.8432 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008778/0.1813, allocations: 136.5 kB / 0.8433 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005965/0.1818, allocations: 345.3 kB / 0.8436 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.1819, allocations: 21.03 kB / 0.8437 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.14e-05/0.1819, allocations: 32.36 kB / 0.8437 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008518/0.1828, allocations: 0.5468 MB / 0.8442 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.1828, allocations: 4 kB / 0.8442 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.078e-05/0.1828, allocations: 19.92 kB / 0.8443 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.676e-05/0.1829, allocations: 44.62 kB / 0.8443 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007168/0.1836, allocations: 406.1 kB / 0.8447 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003094/0.1867, allocations: 3.271 MB / 0.8479 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006763/0.1874, allocations: 314.5 kB / 0.8482 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/0.1877, allocations: 160.8 kB / 0.8483 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.1877, allocations: 7.938 kB / 0.8483 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.1878, allocations: 34.56 kB / 0.8484 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=26): time 2.314e-06/0.1878, allocations: 4 kB / 0.8484 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of matching and sorting (n=27): time 0.002089/0.1899, allocations: 0.8403 MB / 0.8492 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.1899, allocations: 55.58 kB / 0.8492 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003526/0.1903, allocations: 341.6 kB / 0.8496 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.1903, allocations: 29.7 kB / 0.8496 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.1905, allocations: 256 kB / 0.8498 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.437e-05/0.1905, allocations: 99.16 kB / 0.8499 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.1907, allocations: 74.09 kB / 0.85 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1908, allocations: 350.8 kB / 0.8503 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/0.1911, allocations: 148.7 kB / 0.8505 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003883/0.1915, allocations: 290.5 kB / 0.8508 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007046/0.1922, allocations: 489.3 kB / 0.8512 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1922, allocations: 0 / 0.8512 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001028/0.1932, allocations: 0.5737 MB / 0.8518 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.1932, allocations: 8 kB / 0.8518 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.1932, allocations: 4 kB / 0.8518 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003246/0.1936, allocations: 91.08 kB / 0.8519 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003532/0.1939, allocations: 87.88 kB / 0.852 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.1939, allocations: 11.88 kB / 0.852 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/0.1942, allocations: 27.97 kB / 0.852 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.849e-05/0.1942, allocations: 16 kB / 0.852 GB, free: 5.02 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.0002128/0.1944, allocations: 182.3 kB / 0.8522 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.37e-05/0.1945, allocations: 43.77 kB / 0.8522 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009053/0.1954, allocations: 456.1 kB / 0.8527 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.1954, allocations: 4 kB / 0.8527 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1954, allocations: 0 / 0.8527 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1954, allocations: 7.984 kB / 0.8527 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/0.1969, allocations: 0.9309 MB / 0.8536 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1969, allocations: 0 / 0.8536 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/0.1972, allocations: 55.89 kB / 0.8537 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002565/0.1974, allocations: 82.61 kB / 0.8537 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.1975, allocations: 8 kB / 0.8537 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.1975, allocations: 3.984 kB / 0.8537 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.1975, allocations: 0 / 0.8537 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008587/0.1983, allocations: 0.5469 MB / 0.8543 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.1985, allocations: 59.69 kB / 0.8543 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.249e-05/0.1985, allocations: 11.98 kB / 0.8543 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.1987, allocations: 23.91 kB / 0.8544 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.463e-05/0.1988, allocations: 19.97 kB / 0.8544 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.1988, allocations: 8 kB / 0.8544 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002412/0.1991, allocations: 239.2 kB / 0.8546 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1991, allocations: 0 / 0.8546 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004284/0.1995, allocations: 92 kB / 0.8547 GB, free: 2.141 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.001186/0.2007, allocations: 1.082 MB / 0.8558 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008576/0.2016, allocations: 410.3 kB / 0.8562 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2016, allocations: 3.938 kB / 0.8562 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003711/0.2019, allocations: 191.5 kB / 0.8563 GB, free: 416 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000726/0.2027, allocations: 138.6 kB / 0.8565 GB, free: 284 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00505/0.2077, allocations: 3.731 MB / 0.8601 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004556/0.2082, allocations: 0.8269 MB / 0.8609 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002551/0.2084, allocations: 79.36 kB / 0.861 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.2086, allocations: 131.4 kB / 0.8611 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of SimCode: time 7.92e-07/0.2086, allocations: 0 / 0.8611 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03117/0.2398, allocations: 8.694 MB / 0.8696 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.01, allocations: 6.5 kB / 0.8696 GB, free: 2.793 MB / 0.6075 GB " [Timeout remaining time 648] (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.1478207729524] Failed to read output from testmodel.py, exit status != 0: 12.182756637979764 12.208786529 12.025096895 Calling exit ...