Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.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.0006686/0.0006686, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.000881/0.000881, allocations: 207.6 kB / 22.25 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.9747/0.9747, allocations: 230.6 MB / 256 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7984/0.7984, allocations: 203.8 MB / 0.5042 GB, free: 10.43 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_Resistance",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.0009381/0.0009381, allocations: 66.67 kB / 0.7181 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5361/0.537, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.003543/0.5406, allocations: 3.056 MB / 0.8208 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001702/0.5423, allocations: 1.321 MB / 0.822 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.5424, allocations: 8.906 kB / 0.8221 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007/0.5431, allocations: 344.4 kB / 0.8224 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003005/0.5434, allocations: 138.9 kB / 0.8225 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.5436, allocations: 134.5 kB / 0.8226 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003149/0.544, allocations: 316.6 kB / 0.8229 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003685/0.5443, allocations: 178.4 kB / 0.8231 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.5445, allocations: 129.3 kB / 0.8232 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002732/0.5447, allocations: 138.1 kB / 0.8234 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.5448, allocations: 18.03 kB / 0.8234 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002095/0.545, allocations: 150.2 kB / 0.8235 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.598e-05/0.5451, allocations: 78.8 kB / 0.8236 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.803e-05/0.5452, allocations: 101.3 kB / 0.8237 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003994/0.5456, allocations: 334.1 kB / 0.824 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5456, allocations: 0 / 0.824 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5456, allocations: 5.219 kB / 0.824 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.5456, allocations: 3.938 kB / 0.824 GB, free: 13.27 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006513/0.5462, allocations: 454.6 kB / 0.8245 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.5463, allocations: 8.375 kB / 0.8245 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.109e-05/0.5463, allocations: 60.05 kB / 0.8245 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003441/0.5467, allocations: 79.61 kB / 0.8246 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.5469, allocations: 189.5 kB / 0.8248 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.5469, allocations: 17.53 kB / 0.8248 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.5469, allocations: 15.84 kB / 0.8248 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000391/0.5473, allocations: 383.7 kB / 0.8252 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.5473, allocations: 0 / 0.8252 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.5473, allocations: 10 kB / 0.8252 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-05/0.5474, allocations: 15.16 kB / 0.8252 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002483/0.5476, allocations: 197 kB / 0.8254 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.5486, allocations: 1.037 MB / 0.8264 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.5488, allocations: 95.42 kB / 0.8265 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.524e-05/0.5489, allocations: 30.45 kB / 0.8265 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.5489, allocations: 1.281 kB / 0.8265 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.5489, allocations: 40.33 kB / 0.8266 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.5489, allocations: 4 kB / 0.8266 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003452/0.5493, allocations: 154.3 kB / 0.8267 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.5493, allocations: 53.3 kB / 0.8268 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.5495, allocations: 206.8 kB / 0.827 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.5495, allocations: 26.58 kB / 0.827 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.318e-05/0.5496, allocations: 166.3 kB / 0.8272 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.5496, allocations: 26.38 kB / 0.8272 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.5496, allocations: 40.3 kB / 0.8272 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.844e-05/0.5497, allocations: 327 kB / 0.8275 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.999e-05/0.5497, allocations: 39.42 kB / 0.8276 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.755e-05/0.5498, allocations: 99.14 kB / 0.8277 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.55, allocations: 142.4 kB / 0.8278 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.55, allocations: 4 kB / 0.8278 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002318/0.5502, allocations: 192.1 kB / 0.828 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.5502, allocations: 6.469 kB / 0.828 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.5502, allocations: 1.984 kB / 0.828 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001602/0.5504, allocations: 22.45 kB / 0.828 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.066e-05/0.5505, allocations: 37.56 kB / 0.828 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007409/0.5512, allocations: 1.312 MB / 0.8293 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.524e-05/0.5513, allocations: 18.27 kB / 0.8293 GB, free: 8.863 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.5513, allocations: 5.562 kB / 0.8294 GB, free: 8.863 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.5514, allocations: 147.7 kB / 0.8295 GB, free: 8.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.5514, allocations: 23.81 kB / 0.8295 GB, free: 8.715 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.484e-05/0.5515, allocations: 19.39 kB / 0.8295 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.5515, allocations: 1.375 kB / 0.8295 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5515, allocations: 0.6562 kB / 0.8295 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.5515, allocations: 5.375 kB / 0.8295 GB, free: 8.699 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004128/0.5519, allocations: 402.4 kB / 0.8299 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.5519, allocations: 1.859 kB / 0.8299 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.108e-05/0.5519, allocations: 6.234 kB / 0.8299 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.816e-05/0.552, allocations: 32.16 kB / 0.83 GB, free: 8.352 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.552, allocations: 5.469 kB / 0.83 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006631/0.5526, allocations: 1.3 MB / 0.8312 GB, free: 7.066 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.5526, allocations: 0 / 0.8312 GB, free: 7.066 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.5528, allocations: 220.8 kB / 0.8314 GB, free: 6.887 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.588e-05/0.5528, allocations: 17.02 kB / 0.8315 GB, free: 6.879 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.5528, allocations: 5.125 kB / 0.8315 GB, free: 6.875 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.453e-05/0.5529, allocations: 8.734 kB / 0.8315 GB, free: 6.871 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.669e-05/0.5529, allocations: 5.859 kB / 0.8315 GB, free: 6.871 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.5529, allocations: 1.625 kB / 0.8315 GB, free: 6.871 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001024/0.553, allocations: 146.8 kB / 0.8316 GB, free: 6.773 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.553, allocations: 1.188 kB / 0.8316 GB, free: 6.773 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002414/0.5533, allocations: 52.05 kB / 0.8317 GB, free: 6.762 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0003567/0.5536, allocations: 0.7412 MB / 0.8324 GB, free: 6.059 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003043/0.5539, allocations: 206.7 kB / 0.8326 GB, free: 5.914 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5539, allocations: 192 / 0.8326 GB, free: 5.914 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.475e-05/0.554, allocations: 143.7 kB / 0.8327 GB, free: 5.793 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.5543, allocations: 47.66 kB / 0.8328 GB, free: 5.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.5563, allocations: 2.059 MB / 0.8348 GB, free: 4.129 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.5564, allocations: 132.3 kB / 0.8349 GB, free: 4.055 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.499e-05/0.5565, allocations: 28.95 kB / 0.8349 GB, free: 4.043 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.694e-05/0.5566, allocations: 55.42 kB / 0.835 GB, free: 4 MB / 0.6198 GB Notification: Performance of SimCode: time 1.002e-06/0.5566, allocations: 0 / 0.835 GB, free: 4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.5784, allocations: 4.362 MB / 0.8393 GB, free: 2.906 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.906/7.485, allocations: 14.91 kB / 0.8393 GB, free: 2.898 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_Resistance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_Resistance.fmu > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.481915120966733] Failed to read output from testmodel.py, exit status != 0: 7.568444611039013 7.584881864 7.036287593 Calling exit ...