Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.001395/0.001395, allocations: 120.1 kB / 17.84 MB, free: 5.234 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.001502/0.001502, allocations: 203.9 kB / 20.79 MB, free: 2.297 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.541/1.541, allocations: 230.6 MB / 254.2 MB, free: 15.11 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.001/1.001, allocations: 150 MB / 460.2 MB, free: 5.285 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.TestImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",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.001956/0.001956, allocations: 64.84 kB / 0.6368 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2086, allocations: 89.14 MB / 0.7238 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.008339/0.2169, allocations: 4.885 MB / 0.7286 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005542/0.2225, allocations: 2.525 MB / 0.7311 GB, free: 12.63 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007941/0.2233, allocations: 31.62 kB / 0.7311 GB, free: 12.6 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001522/0.2248, allocations: 409.9 kB / 0.7315 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001586/0.2264, allocations: 469.6 kB / 0.732 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.2277, allocations: 380.2 kB / 0.7323 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001761/0.2294, allocations: 0.9134 MB / 0.7332 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000708/0.2301, allocations: 298.5 kB / 0.7335 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007415/0.2309, allocations: 354.6 kB / 0.7338 GB, free: 9.805 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007657/0.2316, allocations: 366.4 kB / 0.7342 GB, free: 9.445 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.2318, allocations: 40 kB / 0.7342 GB, free: 9.406 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009847/0.2328, allocations: 407.1 kB / 0.7346 GB, free: 9.008 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003073/0.2331, allocations: 187.4 kB / 0.7348 GB, free: 8.824 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005257/0.2336, allocations: 318.2 kB / 0.7351 GB, free: 8.512 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001559/0.2351, allocations: 0.887 MB / 0.736 GB, free: 7.621 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2351, allocations: 0 / 0.736 GB, free: 7.621 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2352, allocations: 0 / 0.736 GB, free: 7.621 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.273e-05/0.2352, allocations: 4 kB / 0.736 GB, free: 7.617 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001896/0.2371, allocations: 0.9649 MB / 0.7369 GB, free: 6.602 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.2371, allocations: 12.03 kB / 0.7369 GB, free: 6.59 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.082e-05/0.2372, allocations: 13.19 kB / 0.7369 GB, free: 6.578 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001383/0.2373, allocations: 94.7 kB / 0.737 GB, free: 6.477 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/0.2387, allocations: 204.2 kB / 0.7372 GB, free: 6.277 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.2397, allocations: 0.5339 MB / 0.7377 GB, free: 5.703 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.671e-05/0.2398, allocations: 33.36 kB / 0.7378 GB, free: 5.668 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.2399, allocations: 48.31 kB / 0.7378 GB, free: 5.621 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.2413, allocations: 0.8483 MB / 0.7386 GB, free: 4.641 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.101e-05/0.2414, allocations: 11.94 kB / 0.7386 GB, free: 4.629 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.095e-05/0.2414, allocations: 20 kB / 0.7387 GB, free: 4.609 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001084/0.2415, allocations: 68.95 kB / 0.7387 GB, free: 4.543 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009758/0.2425, allocations: 0.5616 MB / 0.7393 GB, free: 3.98 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005419/0.2479, allocations: 5.643 MB / 0.7448 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000765/0.2487, allocations: 429.2 kB / 0.7452 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004428/0.2491, allocations: 201.3 kB / 0.7454 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.2492, allocations: 0 / 0.7454 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.2492, allocations: 42.55 kB / 0.7454 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 4.118e-06/0.2492, allocations: 4 kB / 0.7454 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.002925/0.2521, allocations: 1.509 MB / 0.7469 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.2522, allocations: 55.69 kB / 0.747 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006604/0.2529, allocations: 499 kB / 0.7474 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.218e-05/0.2529, allocations: 29.7 kB / 0.7475 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003145/0.2532, allocations: 367.7 kB / 0.7478 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.2534, allocations: 123 kB / 0.7479 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002191/0.2536, allocations: 118.2 kB / 0.7481 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002216/0.2538, allocations: 370.7 kB / 0.7484 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/0.2541, allocations: 197.2 kB / 0.7486 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005521/0.2547, allocations: 439.3 kB / 0.749 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008924/0.2556, allocations: 0.6954 MB / 0.7497 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.2556, allocations: 4 kB / 0.7497 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001334/0.2569, allocations: 0.8022 MB / 0.7505 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.2569, allocations: 8 kB / 0.7505 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.257, allocations: 11.94 kB / 0.7505 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005828/0.2575, allocations: 160.1 kB / 0.7506 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004917/0.258, allocations: 123.8 kB / 0.7508 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003882/0.2619, allocations: 4.348 MB / 0.755 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004866/0.2624, allocations: 31.97 kB / 0.755 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.49e-05/0.2624, allocations: 28 kB / 0.7551 GB, free: 2.551 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003259/0.2628, allocations: 214.3 kB / 0.7553 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.937e-05/0.2629, allocations: 63.62 kB / 0.7553 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.264, allocations: 0.6048 MB / 0.7559 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.264, allocations: 4 kB / 0.7559 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.264, allocations: 3.938 kB / 0.7559 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.264, allocations: 3.984 kB / 0.7559 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001991/0.266, allocations: 1.254 MB / 0.7572 GB, free: 284 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.266, allocations: 0 / 0.7572 GB, free: 284 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002703/0.2663, allocations: 55.89 kB / 0.7572 GB, free: 228 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004388/0.2667, allocations: 152.3 kB / 0.7574 GB, free: 60 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/0.2667, allocations: 8 kB / 0.7574 GB, free: 52 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004198/0.2709, allocations: 4.336 MB / 0.7616 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-06/0.271, allocations: 4 kB / 0.7616 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.2721, allocations: 0.7094 MB / 0.7623 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002824/0.2724, allocations: 176.6 kB / 0.7625 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.897e-05/0.2725, allocations: 11.98 kB / 0.7625 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.2727, allocations: 23.97 kB / 0.7625 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.565e-05/0.2728, allocations: 27.91 kB / 0.7625 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/0.2728, allocations: 16 kB / 0.7625 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004447/0.2733, allocations: 330.8 kB / 0.7629 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2733, allocations: 0 / 0.7629 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006974/0.274, allocations: 144 kB / 0.763 GB, free: 9.801 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001529/0.2755, allocations: 1.257 MB / 0.7642 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001773/0.2773, allocations: 1.025 MB / 0.7652 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2773, allocations: 0 / 0.7652 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009605/0.2783, allocations: 0.7123 MB / 0.7659 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.2793, allocations: 210.9 kB / 0.7661 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007339/0.2866, allocations: 5.119 MB / 0.7711 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006297/0.2873, allocations: 0.9096 MB / 0.772 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004472/0.2877, allocations: 113.3 kB / 0.7721 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002964/0.288, allocations: 195.4 kB / 0.7723 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of SimCode: time 1.162e-06/0.288, allocations: 0 / 0.7723 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04485/0.3329, allocations: 12.82 MB / 0.7848 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.27, allocations: 6.562 kB / 0.7848 GB, free: 3.09 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.546841208997648] Failed to read output from testmodel.py, exit status != 0: 11.421895611973014 11.448163422 11.208260045 Calling exit ...