Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.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.0007098/0.0007098, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001021/0.001021, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9991/0.9991, allocations: 230.6 MB / 256 MB, free: 9.793 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.7903/0.7903, allocations: 203.8 MB / 0.5042 GB, free: 10.72 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.Loads.Examples.Resistor,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Loads_Examples_Resistor",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.000943/0.000943, allocations: 66.62 kB / 0.7182 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4872/0.4882, allocations: 102 MB / 0.8179 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.00377/0.492, allocations: 3.991 MB / 0.8217 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00176/0.4937, allocations: 1.826 MB / 0.8235 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.4938, allocations: 9.75 kB / 0.8235 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008117/0.4946, allocations: 0.5115 MB / 0.824 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003385/0.495, allocations: 226.1 kB / 0.8243 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.4953, allocations: 215.5 kB / 0.8245 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004128/0.4957, allocations: 476.7 kB / 0.8249 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004103/0.4961, allocations: 286.7 kB / 0.8252 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.4963, allocations: 196.2 kB / 0.8254 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000324/0.4966, allocations: 235.6 kB / 0.8256 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.68e-05/0.4966, allocations: 28.22 kB / 0.8256 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002776/0.4969, allocations: 249 kB / 0.8259 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.497, allocations: 142 kB / 0.826 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.4972, allocations: 168.6 kB / 0.8262 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005438/0.4977, allocations: 0.5101 MB / 0.8267 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.4977, allocations: 0 / 0.8267 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.834e-06/0.4977, allocations: 0 / 0.8267 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.4977, allocations: 0 / 0.8267 GB, free: 11.84 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0009885/0.4987, allocations: 0.5605 MB / 0.8272 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.4987, allocations: 13.81 kB / 0.8272 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.64e-05/0.4988, allocations: 66.53 kB / 0.8273 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004909/0.4993, allocations: 137.1 kB / 0.8274 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.4996, allocations: 234.3 kB / 0.8276 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.4996, allocations: 20.94 kB / 0.8277 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.4996, allocations: 30.3 kB / 0.8277 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004973/0.5001, allocations: 469.2 kB / 0.8281 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.5001, allocations: 1.125 kB / 0.8281 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.5001, allocations: 15.73 kB / 0.8282 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-05/0.5002, allocations: 27.81 kB / 0.8282 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003669/0.5005, allocations: 324.6 kB / 0.8285 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.502, allocations: 2.154 MB / 0.8306 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.5022, allocations: 160.3 kB / 0.8307 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.5024, allocations: 95.08 kB / 0.8308 GB, free: 8.734 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.5024, allocations: 1.969 kB / 0.8308 GB, free: 8.734 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.5024, allocations: 36.5 kB / 0.8309 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.5024, allocations: 0 / 0.8309 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0003918/0.5028, allocations: 232.7 kB / 0.8311 GB, free: 8.582 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.5028, allocations: 54.17 kB / 0.8311 GB, free: 8.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/0.5031, allocations: 266.4 kB / 0.8314 GB, free: 8.367 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.5031, allocations: 31.31 kB / 0.8314 GB, free: 8.332 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.5032, allocations: 213.3 kB / 0.8316 GB, free: 8.152 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.5033, allocations: 46.61 kB / 0.8317 GB, free: 8.117 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-05/0.5033, allocations: 50.5 kB / 0.8317 GB, free: 8.078 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.893e-05/0.5034, allocations: 339.4 kB / 0.832 GB, free: 7.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.752e-05/0.5035, allocations: 58.94 kB / 0.8321 GB, free: 7.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.5036, allocations: 143.4 kB / 0.8322 GB, free: 7.602 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.5039, allocations: 216.5 kB / 0.8324 GB, free: 7.434 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.5039, allocations: 5.125 kB / 0.8325 GB, free: 7.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003335/0.5042, allocations: 273 kB / 0.8327 GB, free: 7.297 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.5042, allocations: 7.375 kB / 0.8327 GB, free: 7.297 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.5042, allocations: 2.938 kB / 0.8327 GB, free: 7.297 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001172/0.5043, allocations: 27.14 kB / 0.8327 GB, free: 7.285 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.5045, allocations: 46.67 kB / 0.8328 GB, free: 7.281 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007002/0.5052, allocations: 1.321 MB / 0.8341 GB, free: 5.988 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.864e-05/0.5053, allocations: 29.44 kB / 0.8341 GB, free: 5.969 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.5053, allocations: 16.62 kB / 0.8341 GB, free: 5.961 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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.0001122/0.5054, allocations: 169.2 kB / 0.8343 GB, free: 5.816 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.5054, allocations: 24.33 kB / 0.8343 GB, free: 5.805 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.5054, allocations: 27.56 kB / 0.8343 GB, free: 5.781 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.5054, allocations: 2.188 kB / 0.8343 GB, free: 5.781 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.5054, allocations: 0.5156 kB / 0.8343 GB, free: 5.781 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.5054, allocations: 0.6562 kB / 0.8343 GB, free: 5.781 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005892/0.506, allocations: 0.6791 MB / 0.835 GB, free: 5.266 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.506, allocations: 1.281 kB / 0.835 GB, free: 5.266 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.657e-05/0.5061, allocations: 29.39 kB / 0.835 GB, free: 5.258 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.893e-05/0.5061, allocations: 31.97 kB / 0.8351 GB, free: 5.238 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.5061, allocations: 3.469 kB / 0.8351 GB, free: 5.238 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008222/0.507, allocations: 1.316 MB / 0.8364 GB, free: 3.945 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.507, allocations: 2.844 kB / 0.8364 GB, free: 3.945 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.5072, allocations: 317.8 kB / 0.8367 GB, free: 3.691 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/0.5072, allocations: 34 kB / 0.8367 GB, free: 3.676 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.5073, allocations: 8.141 kB / 0.8367 GB, free: 3.672 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.339e-05/0.5073, allocations: 8.109 kB / 0.8367 GB, free: 3.672 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.445e-05/0.5074, allocations: 25.88 kB / 0.8367 GB, free: 3.656 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.5074, allocations: 5.906 kB / 0.8367 GB, free: 3.656 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001296/0.5075, allocations: 189.2 kB / 0.8369 GB, free: 3.543 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5075, allocations: 0 / 0.8369 GB, free: 3.543 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002459/0.5077, allocations: 84.75 kB / 0.837 GB, free: 3.52 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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.0003891/0.5081, allocations: 0.85 MB / 0.8378 GB, free: 2.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003209/0.5085, allocations: 263 kB / 0.8381 GB, free: 2.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5085, allocations: 0 / 0.8381 GB, free: 2.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.5086, allocations: 184.7 kB / 0.8383 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.5089, allocations: 60.2 kB / 0.8383 GB, free: 2.418 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.511, allocations: 2.731 MB / 0.841 GB, free: 420 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.5113, allocations: 0.7897 MB / 0.8417 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001002/0.5114, allocations: 46.75 kB / 0.8418 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.497e-05/0.5115, allocations: 81.89 kB / 0.8419 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of SimCode: time 5.41e-07/0.5115, allocations: 1.469 kB / 0.8419 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/0.5311, allocations: 5.615 MB / 0.8474 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.871/7.402, allocations: 8.406 kB / 0.8474 GB, free: 13.58 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_DC_Loads_Examples_Resistor.fmu > IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.33483717800118] Failed to read output from testmodel.py, exit status != 0: 7.482817953918129 7.495658176 6.995975897 Calling exit ...