Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.00177/0.00177, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002329/0.002329, allocations: 211.7 kB / 22.24 MB, free: 4.859 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.426/1.426, allocations: 230.6 MB / 256 MB, free: 8.012 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.002567/0.002567, allocations: 299 kB / 312.7 MB, free: 2.645 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.183/1.183, allocations: 180.6 MB / 0.5369 GB, free: 14.55 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.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",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.004067/0.004067, allocations: 101.8 kB / 0.7395 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2315, allocations: 95.39 MB / 0.8327 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007653/0.2392, allocations: 5.285 MB / 0.8378 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005009/0.2442, allocations: 2.607 MB / 0.8404 GB, free: 432 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005165/0.2447, allocations: 31.69 kB / 0.8404 GB, free: 400 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00204/0.2467, allocations: 0.6854 MB / 0.8411 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001092/0.2478, allocations: 421.8 kB / 0.8415 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009848/0.2488, allocations: 393.3 kB / 0.8418 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00106/0.2499, allocations: 0.9555 MB / 0.8428 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005545/0.2504, allocations: 374.5 kB / 0.8431 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005494/0.251, allocations: 390.6 kB / 0.8435 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005511/0.2515, allocations: 398.3 kB / 0.8439 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.364e-05/0.2516, allocations: 48 kB / 0.8439 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000601/0.2522, allocations: 331.2 kB / 0.8442 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002523/0.2524, allocations: 251.2 kB / 0.8445 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003022/0.2527, allocations: 294.6 kB / 0.8448 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.2539, allocations: 0.9806 MB / 0.8457 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.2539, allocations: 4 kB / 0.8457 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2539, allocations: 0 / 0.8457 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.2539, allocations: 0 / 0.8457 GB, free: 10.91 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001582/0.2555, allocations: 0.9169 MB / 0.8466 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2556, allocations: 13.34 kB / 0.8466 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001136/0.2557, allocations: 98.69 kB / 0.8467 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/0.257, allocations: 200.3 kB / 0.8469 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008759/0.2579, allocations: 459.7 kB / 0.8474 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.737e-05/0.2579, allocations: 33.38 kB / 0.8474 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.2581, allocations: 64.44 kB / 0.8474 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.2594, allocations: 0.9823 MB / 0.8484 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/0.2594, allocations: 3.938 kB / 0.8484 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.106e-05/0.2595, allocations: 24 kB / 0.8484 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001873/0.2597, allocations: 60.95 kB / 0.8485 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009183/0.2606, allocations: 0.5697 MB / 0.849 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004518/0.2651, allocations: 3.569 MB / 0.8525 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005349/0.2656, allocations: 283.2 kB / 0.8528 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003192/0.2659, allocations: 209.3 kB / 0.853 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.266, allocations: 4.281 kB / 0.853 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.266, allocations: 38.84 kB / 0.853 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.993e-06/0.266, allocations: 4 kB / 0.853 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.005565/0.2716, allocations: 2.347 MB / 0.8553 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.2716, allocations: 55.41 kB / 0.8554 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005862/0.2722, allocations: 469.8 kB / 0.8558 GB, free: 128 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.61e-05/0.2723, allocations: 33.7 kB / 0.8559 GB, free: 88 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002772/0.2725, allocations: 344.5 kB / 0.8562 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.2727, allocations: 154.7 kB / 0.8563 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001819/0.2729, allocations: 102.3 kB / 0.8564 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.273, allocations: 362.8 kB / 0.8568 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003764/0.2734, allocations: 237.2 kB / 0.857 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005205/0.2739, allocations: 415.3 kB / 0.8574 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009525/0.2749, allocations: 0.6711 MB / 0.8581 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2749, allocations: 4 kB / 0.8581 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001753/0.2766, allocations: 0.9135 MB / 0.859 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.2767, allocations: 8 kB / 0.859 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.2767, allocations: 4 kB / 0.859 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007963/0.2775, allocations: 223 kB / 0.8592 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00051/0.278, allocations: 115.8 kB / 0.8593 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005627/0.2836, allocations: 5.007 MB / 0.8642 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004728/0.2841, allocations: 27.98 kB / 0.8642 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.245e-05/0.2841, allocations: 28.05 kB / 0.8642 GB, free: 6.969 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003252/0.2845, allocations: 221.7 kB / 0.8645 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.939e-05/0.2846, allocations: 63.55 kB / 0.8645 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001587/0.2861, allocations: 0.7696 MB / 0.8653 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.2861, allocations: 4 kB / 0.8653 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.2861, allocations: 4.125 kB / 0.8653 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.2862, allocations: 4.125 kB / 0.8653 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002584/0.2887, allocations: 1.407 MB / 0.8667 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.2887, allocations: 0 / 0.8667 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003803/0.2891, allocations: 71.88 kB / 0.8667 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006972/0.2898, allocations: 210.6 kB / 0.8669 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.2899, allocations: 8 kB / 0.8669 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005335/0.2952, allocations: 4.933 MB / 0.8717 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.2952, allocations: 4.031 kB / 0.8717 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.2971, allocations: 1.124 MB / 0.8728 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002861/0.2974, allocations: 99.59 kB / 0.8729 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.815e-05/0.2975, allocations: 8 kB / 0.8729 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000332/0.2978, allocations: 31.95 kB / 0.873 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.844e-05/0.2979, allocations: 35.88 kB / 0.873 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.298, allocations: 12 kB / 0.873 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003805/0.2983, allocations: 310.9 kB / 0.8733 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2983, allocations: 4.062 kB / 0.8733 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006628/0.299, allocations: 168 kB / 0.8735 GB, free: 13 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002222/0.3012, allocations: 1.695 MB / 0.8751 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001712/0.3029, allocations: 0.9577 MB / 0.8761 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.3029, allocations: 4 kB / 0.8761 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.304, allocations: 0.6603 MB / 0.8767 GB, free: 9.543 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008875/0.3048, allocations: 185.6 kB / 0.8769 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008352/0.3132, allocations: 5.627 MB / 0.8824 GB, free: 3.457 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.3136, allocations: 350.2 kB / 0.8827 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000351/0.3139, allocations: 109 kB / 0.8828 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003353/0.3143, allocations: 211.4 kB / 0.883 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of SimCode: time 8.92e-07/0.3143, allocations: 3.938 kB / 0.883 GB, free: 2.773 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07725/0.3915, allocations: 15.65 MB / 0.8983 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.06, allocations: 0 / 0.8983 GB, free: 3.523 MB / 0.6387 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.159034655429423] Failed to read output from testmodel.py, exit status != 0: 12.178733899723738 12.202233015 11.943735891 Calling exit ...