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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 103.2 kB / 16.4 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 192.6 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 222.9 MB / 245 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.105/1.105, allocations: 173.4 MB / 470.7 MB, free: 13.64 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 63.52 kB / 0.6478 GB, free: 11.77 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2044, allocations: 89.52 MB / 0.7352 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.006023/0.2105, allocations: 3.834 MB / 0.739 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003125/0.2136, allocations: 1.733 MB / 0.7407 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002931/0.214, allocations: 7.938 kB / 0.7407 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001558/0.2155, allocations: 498.1 kB / 0.7412 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006892/0.2163, allocations: 218.9 kB / 0.7414 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006789/0.2169, allocations: 222.6 kB / 0.7416 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007389/0.2177, allocations: 474.4 kB / 0.742 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006972/0.2184, allocations: 353.2 kB / 0.7424 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003562/0.2188, allocations: 195.3 kB / 0.7426 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00054/0.2193, allocations: 219.2 kB / 0.7428 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.112e-05/0.2194, allocations: 28 kB / 0.7428 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005862/0.22, allocations: 243.4 kB / 0.743 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000203/0.2202, allocations: 127.7 kB / 0.7431 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002207/0.2205, allocations: 163.2 kB / 0.7433 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008088/0.2213, allocations: 0.5098 MB / 0.7438 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2213, allocations: 0 / 0.7438 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2213, allocations: 0 / 0.7438 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.984e-05/0.2213, allocations: 3.938 kB / 0.7438 GB, free: 9.445 MB / 0.5762 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.001265/0.2226, allocations: 0.6427 MB / 0.7444 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.2226, allocations: 8.031 kB / 0.7444 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.651e-05/0.2227, allocations: 74.7 kB / 0.7445 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009674/0.2237, allocations: 136.6 kB / 0.7446 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004737/0.2242, allocations: 299.8 kB / 0.7449 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.2242, allocations: 21.03 kB / 0.7449 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.917e-05/0.2243, allocations: 24.38 kB / 0.745 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007303/0.225, allocations: 471.7 kB / 0.7454 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.2251, allocations: 0 / 0.7454 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.828e-05/0.2251, allocations: 12 kB / 0.7454 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.533e-05/0.2252, allocations: 36.53 kB / 0.7455 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000549/0.2257, allocations: 313.9 kB / 0.7458 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002539/0.2283, allocations: 2.189 MB / 0.7479 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004308/0.2287, allocations: 243.8 kB / 0.7481 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002961/0.229, allocations: 108.8 kB / 0.7482 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.2291, allocations: 4 kB / 0.7482 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.2291, allocations: 34.55 kB / 0.7483 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 3.917e-06/0.2291, allocations: 4 kB / 0.7483 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0007068/0.2298, allocations: 299.6 kB / 0.7486 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.2299, allocations: 55.41 kB / 0.7486 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003599/0.2303, allocations: 270.6 kB / 0.7489 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.2303, allocations: 29.64 kB / 0.7489 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.2305, allocations: 204.3 kB / 0.7491 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.973e-05/0.2306, allocations: 59.53 kB / 0.7492 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.2307, allocations: 49.89 kB / 0.7492 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.2309, allocations: 334.8 kB / 0.7495 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.231, allocations: 56.44 kB / 0.7496 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.2312, allocations: 149.9 kB / 0.7497 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003144/0.2316, allocations: 218.9 kB / 0.7499 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.2316, allocations: 0 / 0.7499 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005019/0.2321, allocations: 268.3 kB / 0.7502 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.2321, allocations: 4 kB / 0.7502 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.2321, allocations: 4 kB / 0.7502 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002178/0.2323, allocations: 29.22 kB / 0.7502 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.2326, allocations: 51.92 kB / 0.7503 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001392/0.234, allocations: 1.43 MB / 0.7517 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.2342, allocations: 27.94 kB / 0.7517 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.2342, allocations: 15.94 kB / 0.7517 GB, free: 0.6602 MB / 0.5762 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.0001988/0.2344, allocations: 176.9 kB / 0.7519 GB, free: 492 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.165e-05/0.2345, allocations: 23.86 kB / 0.7519 GB, free: 468 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.13e-05/0.2345, allocations: 25.83 kB / 0.7519 GB, free: 440 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.2345, allocations: 8.062 kB / 0.7519 GB, free: 432 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2345, allocations: 0 / 0.7519 GB, free: 432 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2345, allocations: 0 / 0.7519 GB, free: 432 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.331/0.5656, allocations: 0.6931 MB / 0.7526 GB, free: 18.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.5656, allocations: 2.594 kB / 0.7526 GB, free: 18.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.5657, allocations: 23.67 kB / 0.7526 GB, free: 18.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001167/0.5659, allocations: 29.56 kB / 0.7527 GB, free: 18.21 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.5659, allocations: 7.781 kB / 0.7527 GB, free: 18.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008691/0.5668, allocations: 1.409 MB / 0.754 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.5668, allocations: 3.703 kB / 0.754 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003627/0.5672, allocations: 315.2 kB / 0.7543 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.5673, allocations: 118.2 kB / 0.7545 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.5673, allocations: 4.141 kB / 0.7545 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.5675, allocations: 13.2 kB / 0.7545 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.5675, allocations: 23.78 kB / 0.7545 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.5675, allocations: 7.953 kB / 0.7545 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001827/0.5677, allocations: 191.4 kB / 0.7547 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5677, allocations: 0 / 0.7547 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004634/0.5682, allocations: 77.73 kB / 0.7548 GB, free: 16.52 MB / 0.5762 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.0004894/0.5687, allocations: 0.8522 MB / 0.7556 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004307/0.5692, allocations: 273.3 kB / 0.7559 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5692, allocations: 0.7812 kB / 0.7559 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.5694, allocations: 189.4 kB / 0.756 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/0.5698, allocations: 58.27 kB / 0.7561 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0027/0.5725, allocations: 2.702 MB / 0.7587 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.5728, allocations: 0.8004 MB / 0.7595 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000151/0.573, allocations: 44.33 kB / 0.7596 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.657e-05/0.5731, allocations: 82.88 kB / 0.7596 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of SimCode: time 5.71e-07/0.5731, allocations: 3.688 kB / 0.7596 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03243/0.6055, allocations: 5.382 MB / 0.7649 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/10.76, allocations: 7.984 kB / 0.7649 GB, free: 12.68 MB / 0.5762 GB " [Timeout remaining time 649] (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: 14.754301496781409] Failed to read output from testmodel.py, exit status != 0: 10.842421079985797 10.863110276 10.638129809 Calling exit ...