Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.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.0008016/0.0008016, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.0009054/0.0009054, allocations: 209.2 kB / 22.24 MB, free: 3.59 MB / 13.93 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 0.9458/0.9458, allocations: 230.6 MB / 256 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7976/0.7976, allocations: 203.5 MB / 0.5039 GB, free: 10.73 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="IDEAS_IDEAS_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="IDEAS_IDEAS_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001005/0.001005, allocations: 76.59 kB / 0.7178 GB, free: 4.41 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5231/0.5241, allocations: 102 MB / 0.8174 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.004389/0.5285, allocations: 4.272 MB / 0.8215 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002446/0.5309, allocations: 1.828 MB / 0.8233 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001869/0.5311, allocations: 11.78 kB / 0.8233 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.5322, allocations: 0.5884 MB / 0.8239 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005323/0.5327, allocations: 272.2 kB / 0.8242 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005066/0.5332, allocations: 245.3 kB / 0.8244 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005871/0.5338, allocations: 0.6208 MB / 0.825 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005063/0.5343, allocations: 341.4 kB / 0.8253 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002547/0.5345, allocations: 256.5 kB / 0.8256 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000416/0.535, allocations: 263 kB / 0.8258 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.484e-05/0.535, allocations: 35.94 kB / 0.8259 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003309/0.5353, allocations: 235.1 kB / 0.8261 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.5355, allocations: 148.6 kB / 0.8262 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.5357, allocations: 187.1 kB / 0.8264 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007084/0.5364, allocations: 0.6094 MB / 0.827 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.5364, allocations: 5.875 kB / 0.827 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5364, allocations: 0 / 0.827 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.5364, allocations: 3.938 kB / 0.827 GB, free: 11.59 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001/0.5374, allocations: 0.6657 MB / 0.8277 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.5374, allocations: 9.812 kB / 0.8277 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.166e-05/0.5375, allocations: 77.5 kB / 0.8277 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005714/0.5381, allocations: 147.7 kB / 0.8279 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003698/0.5384, allocations: 282.4 kB / 0.8282 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.5385, allocations: 22.75 kB / 0.8282 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.44e-05/0.5385, allocations: 33.75 kB / 0.8282 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006954/0.5392, allocations: 0.6893 MB / 0.8289 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.5392, allocations: 0.8125 kB / 0.8289 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/0.5392, allocations: 12.34 kB / 0.8289 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-05/0.5393, allocations: 32.84 kB / 0.8289 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004703/0.5398, allocations: 390 kB / 0.8293 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001983/0.5417, allocations: 1.743 MB / 0.831 GB, free: 8.852 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004132/0.5422, allocations: 237.3 kB / 0.8312 GB, free: 8.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.5423, allocations: 105.4 kB / 0.8313 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.5423, allocations: 2.875 kB / 0.8313 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.5423, allocations: 37.81 kB / 0.8314 GB, free: 8.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 3.105e-06/0.5423, allocations: 0 / 0.8314 GB, free: 8.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001648/0.544, allocations: 0.903 MB / 0.8322 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.544, allocations: 55.39 kB / 0.8323 GB, free: 8.125 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003499/0.5444, allocations: 311.1 kB / 0.8326 GB, free: 7.949 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.5444, allocations: 34.92 kB / 0.8326 GB, free: 7.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.5445, allocations: 232.4 kB / 0.8329 GB, free: 7.719 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.023e-05/0.5446, allocations: 85.17 kB / 0.8329 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.479e-05/0.5447, allocations: 62.8 kB / 0.833 GB, free: 7.609 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.5448, allocations: 338.5 kB / 0.8333 GB, free: 7.285 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.5449, allocations: 104.6 kB / 0.8334 GB, free: 7.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.5451, allocations: 192.9 kB / 0.8336 GB, free: 7.105 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003414/0.5455, allocations: 318.6 kB / 0.8339 GB, free: 6.902 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.5455, allocations: 1.438 kB / 0.8339 GB, free: 6.902 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005872/0.5461, allocations: 445.4 kB / 0.8343 GB, free: 6.695 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.5461, allocations: 5.125 kB / 0.8343 GB, free: 6.695 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.5461, allocations: 3.641 kB / 0.8343 GB, free: 6.695 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002818/0.5464, allocations: 100.2 kB / 0.8344 GB, free: 6.652 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.5466, allocations: 65.23 kB / 0.8345 GB, free: 6.645 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002753/0.5493, allocations: 4.071 MB / 0.8385 GB, free: 2.711 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.5495, allocations: 9.031 kB / 0.8385 GB, free: 2.707 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.5495, allocations: 10.56 kB / 0.8385 GB, free: 2.707 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * 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 {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002067/0.5497, allocations: 184.5 kB / 0.8387 GB, free: 2.555 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.778e-05/0.5497, allocations: 40.56 kB / 0.8387 GB, free: 2.531 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.723e-05/0.5498, allocations: 45.8 kB / 0.8387 GB, free: 2.492 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.5498, allocations: 2.469 kB / 0.8387 GB, free: 2.492 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/0.5498, allocations: 1.188 kB / 0.8388 GB, free: 2.492 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.5498, allocations: 2.766 kB / 0.8388 GB, free: 2.492 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004187/0.5502, allocations: 336.8 kB / 0.8391 GB, free: 2.266 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.5502, allocations: 3.938 kB / 0.8391 GB, free: 2.262 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.5504, allocations: 32.62 kB / 0.8391 GB, free: 2.262 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002169/0.5506, allocations: 93.12 kB / 0.8392 GB, free: 2.223 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.5506, allocations: 5.344 kB / 0.8392 GB, free: 2.219 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002631/0.5532, allocations: 4.062 MB / 0.8432 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.523e-06/0.5532, allocations: 5.75 kB / 0.8432 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006174/0.5538, allocations: 0.5517 MB / 0.8437 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.554, allocations: 50.31 kB / 0.8438 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.554, allocations: 6.938 kB / 0.8438 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.5541, allocations: 11.11 kB / 0.8438 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.5541, allocations: 20.92 kB / 0.8438 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.5542, allocations: 8.406 kB / 0.8438 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000209/0.5544, allocations: 213.7 kB / 0.844 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.5544, allocations: 0 / 0.844 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004638/0.5548, allocations: 102.6 kB / 0.8441 GB, free: 13.8 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * 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 {(1,1,100.0%), (1,2,100.0%), (1,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.0009193/0.5558, allocations: 1.099 MB / 0.8452 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006806/0.5564, allocations: 0.5867 MB / 0.8458 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5564, allocations: 1.156 kB / 0.8458 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003024/0.5567, allocations: 460.9 kB / 0.8462 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.5571, allocations: 84.17 kB / 0.8463 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00359/0.5607, allocations: 3.38 MB / 0.8496 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.5609, allocations: 232.5 kB / 0.8498 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001896/0.5611, allocations: 71 kB / 0.8499 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.5612, allocations: 106.6 kB / 0.85 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of SimCode: time 1.002e-06/0.5612, allocations: 0 / 0.85 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03194/0.5932, allocations: 8.74 MB / 0.8585 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.872/7.465, allocations: 15.8 kB / 0.8585 GB, free: 5.113 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_DC_Lines_Examples_RCModel.fmu > IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.389302415307611] Failed to read output from testmodel.py, exit status != 0: 7.548594493884593 7.559950023 7.021152698 Calling exit ...