Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001377/0.001377, allocations: 76.45 kB / 19.02 MB, free: 1.102 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.001486/0.001486, allocations: 159.2 kB / 22.29 MB, free: 3.512 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 1.397/1.397, allocations: 177.2 MB / 202.7 MB, free: 4.812 MB / 186.7 MB " [Timeout remaining time 178] 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 1.23/1.23, allocations: 154.7 MB / 413.8 MB, free: 3.145 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.Loads.Examples.Resistor,fileNamePrefix="IDEAS_IDEAS_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="IDEAS_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.002278/0.002278, allocations: 66.41 kB / 0.618 GB, free: 1.152 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2062, allocations: 102 MB / 0.7176 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.006438/0.2126, allocations: 3.76 MB / 0.7213 GB, free: 7.496 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003211/0.2158, allocations: 1.683 MB / 0.7229 GB, free: 5.805 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001961/0.216, allocations: 11.94 kB / 0.7229 GB, free: 5.793 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001544/0.2176, allocations: 0.4903 MB / 0.7234 GB, free: 5.301 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005953/0.2182, allocations: 222.9 kB / 0.7236 GB, free: 5.082 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006095/0.2188, allocations: 222.6 kB / 0.7238 GB, free: 4.867 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006563/0.2194, allocations: 478 kB / 0.7243 GB, free: 4.398 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005516/0.22, allocations: 289.5 kB / 0.7246 GB, free: 4.113 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003844/0.2204, allocations: 279.2 kB / 0.7248 GB, free: 3.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00045/0.2208, allocations: 223.1 kB / 0.7251 GB, free: 3.621 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.635e-05/0.2209, allocations: 28 kB / 0.7251 GB, free: 3.594 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004668/0.2213, allocations: 215.5 kB / 0.7253 GB, free: 3.383 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001554/0.2215, allocations: 131.5 kB / 0.7254 GB, free: 3.254 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.2217, allocations: 139.4 kB / 0.7255 GB, free: 3.117 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007674/0.2224, allocations: 0.5098 MB / 0.726 GB, free: 2.605 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.2225, allocations: 3.984 kB / 0.726 GB, free: 2.602 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.364e-06/0.2225, allocations: 4 kB / 0.7261 GB, free: 2.598 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.2225, allocations: 0 / 0.7261 GB, free: 2.598 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.001297/0.2238, allocations: 0.5635 MB / 0.7266 GB, free: 2.004 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.2238, allocations: 8.031 kB / 0.7266 GB, free: 1.996 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001009/0.2239, allocations: 70.72 kB / 0.7267 GB, free: 1.918 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009568/0.2249, allocations: 136.6 kB / 0.7268 GB, free: 1.785 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005124/0.2254, allocations: 233.9 kB / 0.727 GB, free: 1.531 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.36e-05/0.2254, allocations: 21.03 kB / 0.7271 GB, free: 1.512 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.796e-05/0.2255, allocations: 28.38 kB / 0.7271 GB, free: 1.484 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009398/0.2264, allocations: 0.5821 MB / 0.7276 GB, free: 0.8398 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.2264, allocations: 3.938 kB / 0.7277 GB, free: 0.8359 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.523e-05/0.2265, allocations: 15.98 kB / 0.7277 GB, free: 0.8203 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.7e-05/0.2265, allocations: 32.62 kB / 0.7277 GB, free: 0.7891 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005424/0.2271, allocations: 322.3 kB / 0.728 GB, free: 480 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002596/0.2297, allocations: 1.575 MB / 0.7295 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003868/0.2301, allocations: 162.7 kB / 0.7297 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/0.2303, allocations: 92.8 kB / 0.7298 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.2303, allocations: 7.984 kB / 0.7298 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.2304, allocations: 34.56 kB / 0.7298 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 2.195e-06/0.2304, allocations: 4 kB / 0.7298 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0006868/0.2311, allocations: 226.5 kB / 0.73 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.2311, allocations: 55.41 kB / 0.7301 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/0.2315, allocations: 273.8 kB / 0.7304 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.2315, allocations: 29.7 kB / 0.7304 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.2317, allocations: 212.3 kB / 0.7306 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.817e-05/0.2317, allocations: 47.53 kB / 0.7306 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.455e-05/0.2318, allocations: 57.89 kB / 0.7307 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.232, allocations: 334.8 kB / 0.731 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.2321, allocations: 64.38 kB / 0.7311 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001775/0.2323, allocations: 148 kB / 0.7312 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002941/0.2326, allocations: 221.2 kB / 0.7314 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2326, allocations: 0 / 0.7314 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004756/0.2331, allocations: 266.4 kB / 0.7317 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.2331, allocations: 8 kB / 0.7317 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.2331, allocations: 3.984 kB / 0.7317 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001713/0.2333, allocations: 28.84 kB / 0.7317 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.2335, allocations: 43.92 kB / 0.7318 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001321/0.2348, allocations: 1.311 MB / 0.733 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.235, allocations: 31.81 kB / 0.7331 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.235, allocations: 8 kB / 0.7331 GB, free: 10.91 MB / 0.6355 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.0002093/0.2352, allocations: 173.6 kB / 0.7332 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.401e-05/0.2353, allocations: 27.84 kB / 0.7333 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.356e-05/0.2353, allocations: 25.72 kB / 0.7333 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2353, allocations: 4.094 kB / 0.7333 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2353, allocations: 3.938 kB / 0.7333 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.2353, allocations: 3.984 kB / 0.7333 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.2363, allocations: 0.6008 MB / 0.7339 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.2363, allocations: 4 kB / 0.7339 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.87e-05/0.2364, allocations: 23.92 kB / 0.7339 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.392e-05/0.2365, allocations: 28.78 kB / 0.7339 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.2365, allocations: 4 kB / 0.7339 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/0.2377, allocations: 1.315 MB / 0.7352 GB, free: 8.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2377, allocations: 0 / 0.7352 GB, free: 8.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004981/0.2382, allocations: 321.2 kB / 0.7355 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.632e-05/0.2383, allocations: 35.84 kB / 0.7356 GB, free: 8.113 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.2383, allocations: 8 kB / 0.7356 GB, free: 8.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.2385, allocations: 12.16 kB / 0.7356 GB, free: 8.094 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.2385, allocations: 19.91 kB / 0.7356 GB, free: 8.074 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.2386, allocations: 4 kB / 0.7356 GB, free: 8.07 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002045/0.2388, allocations: 197.1 kB / 0.7358 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.2388, allocations: 0 / 0.7358 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004188/0.2392, allocations: 83.78 kB / 0.7359 GB, free: 7.793 MB / 0.6355 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.0007401/0.2399, allocations: 0.8488 MB / 0.7367 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005151/0.2404, allocations: 270.4 kB / 0.737 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2404, allocations: 0 / 0.737 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002453/0.2407, allocations: 179.7 kB / 0.7371 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004968/0.2412, allocations: 63.34 kB / 0.7372 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003523/0.2447, allocations: 2.722 MB / 0.7399 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.2449, allocations: 178.1 kB / 0.74 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001445/0.2451, allocations: 50.27 kB / 0.7401 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.2452, allocations: 84.47 kB / 0.7402 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of SimCode: time 4e-07/0.2452, allocations: 0 / 0.7402 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04007/0.2853, allocations: 6.244 MB / 0.7463 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.01, allocations: 3.453 kB / 0.7463 GB, free: 13.07 MB / 0.6511 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_DC_Loads_Examples_Resistor.fmu > IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.271449694002513] Failed to read output from testmodel.py, exit status != 0: 12.116458221003995 12.45490877 11.908112885 Calling exit ...