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.001774/0.001774, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.002128/0.002128, allocations: 212.8 kB / 23.78 MB, free: 4.555 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.562/1.562, allocations: 230.6 MB / 257.5 MB, free: 7.82 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 0.9739/0.9739, allocations: 150 MB / 464 MB, free: 10.26 MB / 366.1 MB " [Timeout remaining time 178] 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.002637/0.002637, allocations: 61.22 kB / 0.642 GB, free: 9.957 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2267, allocations: 89.19 MB / 0.729 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.007496/0.2342, allocations: 3.596 MB / 0.7326 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004101/0.2383, allocations: 1.754 MB / 0.7343 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004334/0.2387, allocations: 27.75 kB / 0.7343 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.2399, allocations: 266.7 kB / 0.7346 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009798/0.2409, allocations: 310.4 kB / 0.7349 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007363/0.2416, allocations: 247.5 kB / 0.7351 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009825/0.2426, allocations: 0.613 MB / 0.7357 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005437/0.2431, allocations: 226.9 kB / 0.7359 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005914/0.2437, allocations: 251.1 kB / 0.7361 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005675/0.2443, allocations: 254.9 kB / 0.7364 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.409e-05/0.2444, allocations: 28 kB / 0.7364 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007185/0.2451, allocations: 247.4 kB / 0.7366 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002138/0.2453, allocations: 123.6 kB / 0.7368 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00029/0.2456, allocations: 171.1 kB / 0.7369 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.2467, allocations: 0.5875 MB / 0.7375 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.2467, allocations: 0 / 0.7375 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2467, allocations: 7.875 kB / 0.7375 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.9e-05/0.2468, allocations: 0 / 0.7375 GB, free: 8.145 MB / 0.5606 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.001891/0.2487, allocations: 0.6798 MB / 0.7382 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/0.2487, allocations: 8.031 kB / 0.7382 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.416e-05/0.2488, allocations: 8.844 kB / 0.7382 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001237/0.2489, allocations: 70.7 kB / 0.7383 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.25, allocations: 136.5 kB / 0.7384 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007046/0.2507, allocations: 349.3 kB / 0.7387 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/0.2507, allocations: 21.03 kB / 0.7387 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.892e-05/0.2508, allocations: 36.31 kB / 0.7388 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.2518, allocations: 0.626 MB / 0.7394 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.2518, allocations: 3.953 kB / 0.7394 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.118e-05/0.2519, allocations: 12 kB / 0.7394 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.118e-05/0.2519, allocations: 48.62 kB / 0.7394 GB, free: 6 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007629/0.2527, allocations: 406.1 kB / 0.7398 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003346/0.2561, allocations: 2.76 MB / 0.7425 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007136/0.2568, allocations: 306.5 kB / 0.7428 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003156/0.2571, allocations: 160.8 kB / 0.743 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.2571, allocations: 4 kB / 0.743 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.2571, allocations: 34.56 kB / 0.743 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=26): time 2.565e-06/0.2572, allocations: 0 / 0.743 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of matching and sorting (n=27): time 0.002283/0.2594, allocations: 0.8483 MB / 0.7438 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.2595, allocations: 51.64 kB / 0.7439 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004245/0.2599, allocations: 341.6 kB / 0.7442 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.2599, allocations: 29.7 kB / 0.7442 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.2601, allocations: 248.1 kB / 0.7445 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.603e-05/0.2602, allocations: 107.1 kB / 0.7446 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.2604, allocations: 78.09 kB / 0.7447 GB, free: 476 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.2606, allocations: 346.8 kB / 0.745 GB, free: 120 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/0.2609, allocations: 144.9 kB / 0.7451 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004048/0.2613, allocations: 294.5 kB / 0.7454 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007398/0.262, allocations: 482.2 kB / 0.7459 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.262, allocations: 8 kB / 0.7459 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001103/0.2631, allocations: 0.5584 MB / 0.7464 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.2631, allocations: 8 kB / 0.7464 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.2632, allocations: 7.938 kB / 0.7464 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003966/0.2636, allocations: 90.45 kB / 0.7465 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003636/0.2639, allocations: 83.88 kB / 0.7466 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.891e-05/0.2639, allocations: 19.81 kB / 0.7466 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002938/0.2642, allocations: 27.97 kB / 0.7466 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.593e-05/0.2643, allocations: 20 kB / 0.7467 GB, free: 14.24 MB / 0.5762 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.0002508/0.2645, allocations: 177.8 kB / 0.7468 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.667e-05/0.2646, allocations: 47.66 kB / 0.7469 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009518/0.2656, allocations: 464.5 kB / 0.7473 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.2656, allocations: 4 kB / 0.7473 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.2656, allocations: 0 / 0.7473 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.2656, allocations: 7.969 kB / 0.7473 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/0.2672, allocations: 0.8887 MB / 0.7482 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.2672, allocations: 4 kB / 0.7482 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.2675, allocations: 51.89 kB / 0.7483 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002482/0.2677, allocations: 82.5 kB / 0.7483 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/0.2678, allocations: 4 kB / 0.7483 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.2678, allocations: 96 / 0.7483 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.2678, allocations: 8 kB / 0.7483 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009071/0.2687, allocations: 0.5391 MB / 0.7489 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/0.2688, allocations: 63.72 kB / 0.7489 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.047e-05/0.2689, allocations: 8 kB / 0.7489 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.2691, allocations: 27.91 kB / 0.749 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.07e-05/0.2692, allocations: 27.89 kB / 0.749 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.2692, allocations: 8 kB / 0.749 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000256/0.2695, allocations: 231.2 kB / 0.7492 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2695, allocations: 8 kB / 0.7492 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004608/0.2699, allocations: 88 kB / 0.7493 GB, free: 11.4 MB / 0.5762 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.001263/0.2712, allocations: 1.09 MB / 0.7504 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008969/0.2721, allocations: 406.7 kB / 0.7508 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.2721, allocations: 0 / 0.7508 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004566/0.2726, allocations: 195.7 kB / 0.751 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007628/0.2733, allocations: 125.5 kB / 0.7511 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005434/0.2787, allocations: 3.725 MB / 0.7547 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.279, allocations: 227.7 kB / 0.7549 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002901/0.2793, allocations: 83.3 kB / 0.755 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/0.2795, allocations: 131.4 kB / 0.7551 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of SimCode: time 8.91e-07/0.2795, allocations: 4 kB / 0.7551 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3813/0.6609, allocations: 9.087 MB / 0.764 GB, free: 35.25 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.87, allocations: 5.203 kB / 0.764 GB, free: 35.25 MB / 0.5762 GB " [Timeout remaining time 647] (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: 17.010678404942155] Failed to read output from testmodel.py, exit status != 0: 13.042866181931458 13.058889154 12.808574984 Calling exit ...