Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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: 114.9 kB / 17.84 MB, free: 5.312 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.001432/0.001432, allocations: 201.6 kB / 20.8 MB, free: 2.371 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.575/1.575, allocations: 230.6 MB / 254.2 MB, free: 15.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.06/1.06, allocations: 150 MB / 460.2 MB, free: 5.637 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002335/0.002335, allocations: 64.62 kB / 0.6368 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1902, allocations: 89.13 MB / 0.7238 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006247/0.1964, allocations: 3.799 MB / 0.7275 GB, free: 260 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003252/0.1997, allocations: 1.847 MB / 0.7294 GB, free: 14.4 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002465/0.1999, allocations: 23.75 kB / 0.7294 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009318/0.2008, allocations: 262.7 kB / 0.7296 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007071/0.2015, allocations: 314.4 kB / 0.7299 GB, free: 13.81 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005972/0.2021, allocations: 249.2 kB / 0.7302 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006975/0.2028, allocations: 0.6049 MB / 0.7308 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003805/0.2032, allocations: 222.7 kB / 0.731 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003688/0.2036, allocations: 243.1 kB / 0.7312 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003252/0.2039, allocations: 251 kB / 0.7314 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.472e-05/0.204, allocations: 24 kB / 0.7315 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004997/0.2045, allocations: 283.4 kB / 0.7317 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.2046, allocations: 123.6 kB / 0.7318 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002128/0.2048, allocations: 210.8 kB / 0.732 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000794/0.2056, allocations: 0.5914 MB / 0.7326 GB, free: 11.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2056, allocations: 0 / 0.7326 GB, free: 11.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2056, allocations: 0 / 0.7326 GB, free: 11.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.477e-05/0.2056, allocations: 0 / 0.7326 GB, free: 11.02 MB / 0.545 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.001353/0.207, allocations: 0.755 MB / 0.7334 GB, free: 10.22 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.207, allocations: 11.97 kB / 0.7334 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.034e-05/0.2071, allocations: 8.844 kB / 0.7334 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.123e-05/0.2071, allocations: 70.72 kB / 0.7335 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000962/0.2081, allocations: 144.5 kB / 0.7336 GB, free: 9.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006047/0.2087, allocations: 403.9 kB / 0.734 GB, free: 9.551 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.2087, allocations: 21.03 kB / 0.734 GB, free: 9.531 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.972e-05/0.2088, allocations: 36.31 kB / 0.734 GB, free: 9.496 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008669/0.2097, allocations: 0.5546 MB / 0.7346 GB, free: 8.867 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.2097, allocations: 3.938 kB / 0.7346 GB, free: 8.863 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.875e-05/0.2097, allocations: 15.98 kB / 0.7346 GB, free: 8.848 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-05/0.2098, allocations: 48.53 kB / 0.7346 GB, free: 8.801 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007367/0.2105, allocations: 401.7 kB / 0.735 GB, free: 8.406 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003248/0.2138, allocations: 3.342 MB / 0.7383 GB, free: 4.816 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006909/0.2145, allocations: 306.5 kB / 0.7386 GB, free: 4.508 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003082/0.2148, allocations: 161.6 kB / 0.7387 GB, free: 4.348 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.2148, allocations: 3.984 kB / 0.7387 GB, free: 4.344 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.2148, allocations: 38.56 kB / 0.7388 GB, free: 4.297 MB / 0.545 GB Notification: Performance of pre-optimization done (n=26): time 1.983e-06/0.2148, allocations: 0 / 0.7388 GB, free: 4.297 MB / 0.545 GB Notification: Performance of matching and sorting (n=27): time 0.002209/0.217, allocations: 1.063 MB / 0.7398 GB, free: 3.16 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.2171, allocations: 59.64 kB / 0.7399 GB, free: 3.09 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003685/0.2174, allocations: 345.6 kB / 0.7402 GB, free: 2.746 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.2175, allocations: 25.7 kB / 0.7402 GB, free: 2.715 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.2176, allocations: 248.2 kB / 0.7405 GB, free: 2.469 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.752e-05/0.2177, allocations: 107.1 kB / 0.7406 GB, free: 2.363 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.2179, allocations: 70.09 kB / 0.7406 GB, free: 2.289 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.218, allocations: 350.8 kB / 0.741 GB, free: 1.938 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000294/0.2183, allocations: 148.8 kB / 0.7411 GB, free: 1.793 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003973/0.2187, allocations: 294.5 kB / 0.7414 GB, free: 1.438 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007292/0.2194, allocations: 480.6 kB / 0.7418 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2194, allocations: 4 kB / 0.7418 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001077/0.2205, allocations: 0.5661 MB / 0.7424 GB, free: 328 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.2205, allocations: 4 kB / 0.7424 GB, free: 324 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.2205, allocations: 8 kB / 0.7424 GB, free: 316 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003272/0.2209, allocations: 82.52 kB / 0.7425 GB, free: 224 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003587/0.2212, allocations: 92.16 kB / 0.7426 GB, free: 132 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.2212, allocations: 15.94 kB / 0.7426 GB, free: 116 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.2215, allocations: 27.97 kB / 0.7426 GB, free: 88 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.2215, allocations: 16 kB / 0.7426 GB, free: 72 kB / 0.545 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.0002242/0.2218, allocations: 177.6 kB / 0.7428 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.611e-05/0.2218, allocations: 43.72 kB / 0.7428 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009637/0.2228, allocations: 464 kB / 0.7433 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.2228, allocations: 8 kB / 0.7433 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2228, allocations: 3.938 kB / 0.7433 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.2228, allocations: 7.969 kB / 0.7433 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.2244, allocations: 0.9598 MB / 0.7442 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.2244, allocations: 3.984 kB / 0.7442 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002442/0.2246, allocations: 51.91 kB / 0.7443 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003049/0.2249, allocations: 82.5 kB / 0.7444 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.2249, allocations: 8.094 kB / 0.7444 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.225, allocations: 7.938 kB / 0.7444 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.225, allocations: 0 / 0.7444 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000881/0.2258, allocations: 0.543 MB / 0.7449 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.226, allocations: 140.8 kB / 0.7451 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.226, allocations: 4 kB / 0.7451 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.2263, allocations: 27.91 kB / 0.7451 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-05/0.2263, allocations: 19.97 kB / 0.7451 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.2264, allocations: 8 kB / 0.7451 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002475/0.2266, allocations: 235.2 kB / 0.7453 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2266, allocations: 4 kB / 0.7453 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004283/0.227, allocations: 87.98 kB / 0.7454 GB, free: 13.05 MB / 0.5606 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.001235/0.2283, allocations: 1.098 MB / 0.7465 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009645/0.2292, allocations: 0.6155 MB / 0.7471 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2292, allocations: 0 / 0.7471 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004913/0.2297, allocations: 421.7 kB / 0.7475 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007099/0.2304, allocations: 131.2 kB / 0.7476 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005089/0.2355, allocations: 3.724 MB / 0.7513 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/0.236, allocations: 0.823 MB / 0.7521 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002503/0.2362, allocations: 79.36 kB / 0.7521 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.2364, allocations: 131.4 kB / 0.7523 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of SimCode: time 5.51e-07/0.2364, allocations: 0 / 0.7523 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03091/0.2674, allocations: 8.395 MB / 0.7605 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/10.84, allocations: 12.53 kB / 0.7605 GB, free: 13.46 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.049669181986246] Failed to read output from testmodel.py, exit status != 0: 10.991422845982015 11.013976706 10.804114126 Calling exit ...