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.0007989/0.0007989, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008855/0.0008855, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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.9265/0.9265, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.7473/0.7473, allocations: 154.6 MB / 413.7 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.618 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.161e-05/1.298e-05, allocations: 7.016 kB / 0.618 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.005169/0.005182, allocations: 3.733 MB / 0.6217 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002773/0.007955, allocations: 1.694 MB / 0.6233 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001635/0.008119, allocations: 7.938 kB / 0.6233 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.009328, allocations: 497.9 kB / 0.6238 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004847/0.009813, allocations: 230.6 kB / 0.624 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004879/0.0103, allocations: 223 kB / 0.6242 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0005021/0.0108, allocations: 482.2 kB / 0.6247 GB, free: 6.93 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005085/0.01131, allocations: 297.4 kB / 0.625 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003563/0.01167, allocations: 275.3 kB / 0.6252 GB, free: 6.367 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004107/0.01208, allocations: 203.4 kB / 0.6254 GB, free: 6.168 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.355e-05/0.01213, allocations: 28 kB / 0.6255 GB, free: 6.141 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003649/0.0125, allocations: 215.4 kB / 0.6257 GB, free: 5.93 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.01263, allocations: 135.6 kB / 0.6258 GB, free: 5.797 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.01276, allocations: 123.7 kB / 0.6259 GB, free: 5.676 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005834/0.01334, allocations: 0.514 MB / 0.6264 GB, free: 5.16 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.01334, allocations: 0 / 0.6264 GB, free: 5.16 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.112e-06/0.01335, allocations: 4 kB / 0.6264 GB, free: 5.156 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.01335, allocations: 0 / 0.6264 GB, free: 5.156 MB / 0.5886 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.0008196/0.01417, allocations: 0.5673 MB / 0.627 GB, free: 4.559 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.0142, allocations: 9.469 kB / 0.627 GB, free: 4.551 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.634e-05/0.01427, allocations: 70.72 kB / 0.627 GB, free: 4.473 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006655/0.01494, allocations: 132.6 kB / 0.6272 GB, free: 4.344 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.01525, allocations: 229.2 kB / 0.6274 GB, free: 4.094 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.01527, allocations: 25.03 kB / 0.6274 GB, free: 4.066 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.01531, allocations: 24.38 kB / 0.6274 GB, free: 4.043 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00063/0.01594, allocations: 0.5826 MB / 0.628 GB, free: 3.398 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.01595, allocations: 192 / 0.628 GB, free: 3.398 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.919e-05/0.01598, allocations: 16.12 kB / 0.628 GB, free: 3.383 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-05/0.01602, allocations: 28.62 kB / 0.6281 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004241/0.01644, allocations: 326.2 kB / 0.6284 GB, free: 3.039 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.01796, allocations: 1.579 MB / 0.6299 GB, free: 1.375 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.01818, allocations: 162.6 kB / 0.6301 GB, free: 1.207 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.01833, allocations: 100.7 kB / 0.6302 GB, free: 1.105 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.01833, allocations: 0 / 0.6302 GB, free: 1.105 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.01835, allocations: 42.56 kB / 0.6302 GB, free: 1.055 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=14): time 1.022e-06/0.01835, allocations: 0 / 0.6302 GB, free: 1.055 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14): time 0.0003355/0.01869, allocations: 226.5 kB / 0.6304 GB, free: 0.8242 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.01871, allocations: 55.41 kB / 0.6305 GB, free: 0.7578 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.0189, allocations: 269.8 kB / 0.6307 GB, free: 0.4922 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.01892, allocations: 29.7 kB / 0.6308 GB, free: 468 kB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.814e-05/0.019, allocations: 208.3 kB / 0.631 GB, free: 252 kB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.01903, allocations: 59.52 kB / 0.631 GB, free: 192 kB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.01908, allocations: 49.89 kB / 0.6311 GB, free: 132 kB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.98e-05/0.01917, allocations: 334.8 kB / 0.6314 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.423e-05/0.01923, allocations: 56.44 kB / 0.6314 GB, free: 15.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.807e-05/0.01933, allocations: 141.7 kB / 0.6316 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.0195, allocations: 214.9 kB / 0.6318 GB, free: 15.31 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.0195, allocations: 4 kB / 0.6318 GB, free: 15.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000255/0.01976, allocations: 273.3 kB / 0.632 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.01977, allocations: 8 kB / 0.632 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.01977, allocations: 0 / 0.632 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001029/0.01988, allocations: 28.84 kB / 0.6321 GB, free: 15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.01998, allocations: 47.91 kB / 0.6321 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006517/0.02063, allocations: 1.319 MB / 0.6334 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.072e-05/0.02072, allocations: 27.78 kB / 0.6334 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.02073, allocations: 8 kB / 0.6334 GB, free: 13.48 MB / 0.6042 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.0001142/0.02084, allocations: 166.7 kB / 0.6336 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.02088, allocations: 31.78 kB / 0.6336 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.501e-05/0.0209, allocations: 29.77 kB / 0.6337 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.0209, allocations: 0 / 0.6337 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.0209, allocations: 0 / 0.6337 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.02091, allocations: 0 / 0.6337 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005428/0.02145, allocations: 0.6124 MB / 0.6343 GB, free: 12.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.02145, allocations: 4.188 kB / 0.6343 GB, free: 12.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.192e-05/0.02149, allocations: 16 kB / 0.6343 GB, free: 12.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-05/0.02154, allocations: 28.78 kB / 0.6343 GB, free: 12.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.02155, allocations: 11.92 kB / 0.6343 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005782/0.02213, allocations: 1.311 MB / 0.6356 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.02213, allocations: 3.938 kB / 0.6356 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.02234, allocations: 317.2 kB / 0.6359 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.662e-05/0.02239, allocations: 35.84 kB / 0.6359 GB, free: 10.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.0224, allocations: 7.984 kB / 0.6359 GB, free: 10.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.6e-05/0.02249, allocations: 16.16 kB / 0.636 GB, free: 10.67 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.14e-05/0.02251, allocations: 11.92 kB / 0.636 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.02252, allocations: 8 kB / 0.636 GB, free: 10.65 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001209/0.02264, allocations: 193.2 kB / 0.6362 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4e-08/0.02264, allocations: 0 / 0.6362 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003325/0.02297, allocations: 75.84 kB / 0.6362 GB, free: 10.39 MB / 0.6042 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.0003973/0.02337, allocations: 0.8508 MB / 0.6371 GB, free: 9.488 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00028/0.02365, allocations: 264.9 kB / 0.6373 GB, free: 9.219 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.02365, allocations: 0 / 0.6373 GB, free: 9.219 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.02377, allocations: 179.7 kB / 0.6375 GB, free: 9.031 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.02405, allocations: 66.86 kB / 0.6375 GB, free: 8.969 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.02615, allocations: 2.711 MB / 0.6402 GB, free: 6.066 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.02627, allocations: 182.1 kB / 0.6404 GB, free: 5.871 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.549e-05/0.02637, allocations: 54.19 kB / 0.6404 GB, free: 5.816 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.799e-05/0.02644, allocations: 80.48 kB / 0.6405 GB, free: 5.738 MB / 0.6042 GB Notification: Performance of SimCode: time 5.01e-07/0.02645, allocations: 0 / 0.6405 GB, free: 5.738 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0179/0.04435, allocations: 6.254 MB / 0.6466 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.101/7.146, allocations: 4 kB / 0.6466 GB, free: 15.7 MB / 0.6198 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.005517181940377] Failed to read output from testmodel.py, exit status != 0: 7.229997839778662 7.238792135 7.223120383 Calling exit ...