Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Electrical.Analog.Examples.HeatingResistor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingResistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingResistor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingResistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 98.92 kB / 16.94 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 175.6 kB / 17.82 MB, free: 5.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004766/0.0004766, allocations: 16.78 kB / 280.8 MB, free: 3.648 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09033/0.09082, allocations: 47.57 MB / 328.4 MB, free: 4.004 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.002329/0.0932, allocations: 1.734 MB / 330.2 MB, free: 2.254 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008449/0.09407, allocations: 480 kB / 330.6 MB, free: 1.777 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.517e-05/0.09416, allocations: 0 / 330.6 MB, free: 1.777 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.622e-05/0.0942, allocations: 19.84 kB / 330.6 MB, free: 1.758 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.09433, allocations: 51.81 kB / 330.7 MB, free: 1.707 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001694/0.0945, allocations: 27.97 kB / 330.7 MB, free: 1.68 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.09469, allocations: 107.8 kB / 330.8 MB, free: 1.574 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.09483, allocations: 37.45 kB / 330.9 MB, free: 1.535 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.773e-05/0.09494, allocations: 59.78 kB / 330.9 MB, free: 1.477 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.09506, allocations: 55.77 kB / 331 MB, free: 1.422 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.09509, allocations: 8 kB / 331 MB, free: 1.414 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.492e-05/0.09516, allocations: 15.92 kB / 331 MB, free: 1.398 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.219e-05/0.09519, allocations: 19.92 kB / 331 MB, free: 1.379 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.892e-05/0.09523, allocations: 49.64 kB / 331.1 MB, free: 1.324 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.09537, allocations: 119.9 kB / 331.2 MB, free: 1.207 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.09538, allocations: 0 / 331.2 MB, free: 1.207 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.09539, allocations: 0 / 331.2 MB, free: 1.207 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.0954, allocations: 0 / 331.2 MB, free: 1.207 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.000559/0.09596, allocations: 419.1 kB / 331.6 MB, free: 0.75 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.09602, allocations: 15.97 kB / 331.6 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.815e-05/0.09609, allocations: 46.55 kB / 331.7 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.387e-05/0.09619, allocations: 15.81 kB / 331.7 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.09642, allocations: 202.8 kB / 331.9 MB, free: 436 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.09644, allocations: 8.234 kB / 331.9 MB, free: 428 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.09647, allocations: 12 kB / 331.9 MB, free: 416 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.09671, allocations: 123.4 kB / 332 MB, free: 288 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.09673, allocations: 0 / 332 MB, free: 288 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.09676, allocations: 8 kB / 332 MB, free: 280 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.09677, allocations: 4 kB / 332 MB, free: 276 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.09696, allocations: 80.66 kB / 332.1 MB, free: 196 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008297/0.09779, allocations: 0.605 MB / 332.7 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.09808, allocations: 94.55 kB / 332.8 MB, free: 15.4 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.09811, allocations: 0 / 332.8 MB, free: 15.4 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.09814, allocations: 42.55 kB / 332.8 MB, free: 15.35 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.09815, allocations: 0 / 332.8 MB, free: 15.35 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006942/0.09885, allocations: 263.5 kB / 333.1 MB, free: 15.07 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.0989, allocations: 51.41 kB / 333.1 MB, free: 15 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.09905, allocations: 149.6 kB / 333.3 MB, free: 14.85 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.09908, allocations: 25.7 kB / 333.3 MB, free: 14.82 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.484e-05/0.09917, allocations: 135.9 kB / 333.4 MB, free: 14.68 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.09919, allocations: 19.66 kB / 333.5 MB, free: 14.66 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.09921, allocations: 4 kB / 333.5 MB, free: 14.66 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.09934, allocations: 318.8 kB / 333.8 MB, free: 14.34 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.678e-05/0.09941, allocations: 27.98 kB / 333.8 MB, free: 14.31 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.264e-05/0.0995, allocations: 54.44 kB / 333.9 MB, free: 14.25 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.814e-05/0.09958, allocations: 23.94 kB / 333.9 MB, free: 14.22 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.09959, allocations: 4 kB / 333.9 MB, free: 14.22 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002792/0.09987, allocations: 138.3 kB / 334 MB, free: 14.07 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.0999, allocations: 8.062 kB / 334 MB, free: 14.07 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.09991, allocations: 0 / 334 MB, free: 14.07 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001793/0.1001, allocations: 40.77 kB / 334.1 MB, free: 14.02 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.599e-05/0.1002, allocations: 8 kB / 334.1 MB, free: 14.02 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/0.1019, allocations: 1.514 MB / 335.6 MB, free: 12.37 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.221e-05/0.102, allocations: 16.25 kB / 335.6 MB, free: 12.35 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.102, allocations: 8.062 kB / 335.6 MB, free: 12.34 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.1021, allocations: 121.8 kB / 335.7 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.1021, allocations: 7.906 kB / 335.7 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.184e-05/0.1022, allocations: 8.719 kB / 335.8 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1022, allocations: 8 kB / 335.8 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-06/0.1022, allocations: 0 / 335.8 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1022, allocations: 3.984 kB / 335.8 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.1024, allocations: 217.5 kB / 336 MB, free: 11.92 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1024, allocations: 0 / 336 MB, free: 11.92 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.792e-05/0.1025, allocations: 11.94 kB / 336 MB, free: 11.91 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001148/0.1026, allocations: 33.02 kB / 336 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.1026, allocations: 8 kB / 336 MB, free: 11.87 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001226/0.1038, allocations: 1.506 MB / 337.5 MB, free: 10.23 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.1039, allocations: 8.016 kB / 337.5 MB, free: 10.22 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/0.1042, allocations: 224.4 kB / 337.8 MB, free: 9.984 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.113e-05/0.1042, allocations: 81.02 kB / 337.8 MB, free: 9.887 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.1043, allocations: 4 kB / 337.8 MB, free: 9.883 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.1044, allocations: 11.98 kB / 337.9 MB, free: 9.871 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.1044, allocations: 4 kB / 337.9 MB, free: 9.867 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.1044, allocations: 0 / 337.9 MB, free: 9.867 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.008e-05/0.1045, allocations: 115.4 kB / 338 MB, free: 9.754 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1045, allocations: 0 / 338 MB, free: 9.754 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003827/0.1049, allocations: 43.78 kB / 338 MB, free: 9.711 MB / 286.1 MB 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.000617/0.1055, allocations: 0.7561 MB / 338.8 MB, free: 8.926 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003664/0.1059, allocations: 186.5 kB / 339 MB, free: 8.73 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.1059, allocations: 0 / 339 MB, free: 8.73 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002262/0.1062, allocations: 170.7 kB / 339.1 MB, free: 8.551 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.1064, allocations: 11.95 kB / 339.1 MB, free: 8.539 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.1077, allocations: 1.084 MB / 340.2 MB, free: 7.395 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.108, allocations: 0.7196 MB / 340.9 MB, free: 6.648 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.291e-05/0.1081, allocations: 4.438 kB / 340.9 MB, free: 6.641 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.639e-05/0.1081, allocations: 35.42 kB / 341 MB, free: 6.609 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1081, allocations: 0 / 341 MB, free: 6.609 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01535/0.1235, allocations: 2.594 MB / 343.6 MB, free: 4.031 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002361/0.1238, allocations: 217.4 kB / 343.8 MB, free: 3.785 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/1.812, allocations: 3.938 kB / 343.8 MB, free: 3.781 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingResistor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingResistor.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat does not exist to compare? outputFormat=mat