Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Signals.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/Modelica 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/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Electrical.Signals,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Signals",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.Signals,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Signals",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.001179/0.001179, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 239.3 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 188.5 kB / 289.6 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03492/0.03492, allocations: 8.795 MB / 348.5 MB, free: 4.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002494/0.002494, allocations: 79.77 kB / 411.2 MB, free: 41.99 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1035, allocations: 51.56 MB / 462.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.003288/0.1068, allocations: 2.198 MB / 464.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008072/0.1076, allocations: 0.4909 MB / 465.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.1078, allocations: 0 / 465.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000139/0.1079, allocations: 27.73 kB / 465.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.372e-05/0.108, allocations: 43.62 kB / 465.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000165/0.1082, allocations: 43.95 kB / 465.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.1084, allocations: 159.3 kB / 465.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.1086, allocations: 74.08 kB / 465.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.191e-05/0.1087, allocations: 63.78 kB / 465.8 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.1088, allocations: 63.7 kB / 465.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.393e-05/0.1088, allocations: 12 kB / 465.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.357e-05/0.1088, allocations: 19.94 kB / 465.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.759e-05/0.1089, allocations: 35.84 kB / 466 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.709e-05/0.109, allocations: 75.61 kB / 466 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.1092, allocations: 167.6 kB / 466.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1092, allocations: 0 / 466.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1092, allocations: 0 / 466.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1092, allocations: 0 / 466.2 MB, free: 10.8 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.000642/0.1099, allocations: 460.9 kB / 466.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.1099, allocations: 8.031 kB / 466.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.425e-05/0.11, allocations: 50.73 kB / 466.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.11, allocations: 24.66 kB / 466.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.1103, allocations: 212.1 kB / 466.9 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.1103, allocations: 12.38 kB / 467 MB, free: 9.961 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.528e-05/0.1104, allocations: 16.38 kB / 467 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/0.1107, allocations: 168.8 kB / 467.1 MB, free: 9.762 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1107, allocations: 4 kB / 467.1 MB, free: 9.758 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.1107, allocations: 4 kB / 467.1 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.1107, allocations: 4 kB / 467.1 MB, free: 9.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.1109, allocations: 84.8 kB / 467.2 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.112, allocations: 0.7495 MB / 468 MB, free: 8.848 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.1122, allocations: 78.58 kB / 468.1 MB, free: 8.762 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.155e-05/0.1122, allocations: 32.84 kB / 468.1 MB, free: 8.727 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.1123, allocations: 3.938 kB / 468.1 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.1123, allocations: 42.56 kB / 468.1 MB, free: 8.672 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.1123, allocations: 0 / 468.1 MB, free: 8.672 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002812/0.1126, allocations: 101.5 kB / 468.2 MB, free: 8.566 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.1126, allocations: 55.41 kB / 468.3 MB, free: 8.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.1128, allocations: 158.3 kB / 468.4 MB, free: 8.336 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.1128, allocations: 29.7 kB / 468.5 MB, free: 8.301 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.347e-05/0.1129, allocations: 131.5 kB / 468.6 MB, free: 8.168 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.1129, allocations: 31.64 kB / 468.6 MB, free: 8.137 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.113, allocations: 25.72 kB / 468.7 MB, free: 8.105 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1131, allocations: 322.8 kB / 469 MB, free: 7.781 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.693e-05/0.1132, allocations: 27.98 kB / 469 MB, free: 7.754 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.725e-05/0.1132, allocations: 56.27 kB / 469.1 MB, free: 7.684 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.1134, allocations: 100.2 kB / 469.2 MB, free: 7.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1134, allocations: 0 / 469.2 MB, free: 7.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002123/0.1136, allocations: 129.5 kB / 469.3 MB, free: 7.438 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1137, allocations: 8.031 kB / 469.3 MB, free: 7.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1137, allocations: 3.938 kB / 469.3 MB, free: 7.426 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.1137, allocations: 4 kB / 469.3 MB, free: 7.422 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.1138, allocations: 23.98 kB / 469.3 MB, free: 7.398 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.1138, allocations: 3.938 kB / 469.3 MB, free: 7.395 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.684e-05/0.1139, allocations: 11.98 kB / 469.3 MB, free: 7.383 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.1139, allocations: 8 kB / 469.3 MB, free: 7.375 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001063/0.114, allocations: 134.3 kB / 469.5 MB, free: 7.234 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.1141, allocations: 15.81 kB / 469.5 MB, free: 7.219 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.309e-05/0.1141, allocations: 12.72 kB / 469.5 MB, free: 7.207 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1141, allocations: 96 / 469.5 MB, free: 7.207 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1141, allocations: 7.875 kB / 469.5 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1141, allocations: 7.984 kB / 469.5 MB, free: 7.191 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.1144, allocations: 217.8 kB / 469.7 MB, free: 6.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1144, allocations: 0 / 469.7 MB, free: 6.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.1145, allocations: 19.98 kB / 469.7 MB, free: 6.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1145, allocations: 0 / 469.7 MB, free: 6.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.1145, allocations: 4 kB / 469.8 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1145, allocations: 4 kB / 469.8 MB, free: 6.902 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1145, allocations: 3.938 kB / 469.8 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.1149, allocations: 207.4 kB / 470 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.329e-05/0.1149, allocations: 85.05 kB / 470 MB, free: 6.578 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.115, allocations: 0 / 470 MB, free: 6.578 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.413e-05/0.1151, allocations: 8 kB / 470.1 MB, free: 6.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.1151, allocations: 15.98 kB / 470.1 MB, free: 6.555 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.1151, allocations: 0 / 470.1 MB, free: 6.555 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.003e-05/0.1152, allocations: 119.2 kB / 470.2 MB, free: 6.438 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1152, allocations: 0 / 470.2 MB, free: 6.438 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002582/0.1155, allocations: 27.84 kB / 470.2 MB, free: 6.41 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inductor.i,integrator.y) * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005328/0.116, allocations: 0.7439 MB / 471 MB, free: 5.641 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002154/0.1162, allocations: 79.97 kB / 471 MB, free: 5.562 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1162, allocations: 0 / 471 MB, free: 5.562 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.243e-05/0.1163, allocations: 31.92 kB / 471.1 MB, free: 5.531 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.1167, allocations: 22.05 kB / 471.1 MB, free: 5.512 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.119, allocations: 1.792 MB / 472.9 MB, free: 3.617 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.1193, allocations: 0.7196 MB / 473.6 MB, free: 2.871 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.373e-05/0.1194, allocations: 12.88 kB / 473.6 MB, free: 2.859 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.393e-05/0.1194, allocations: 39.42 kB / 473.6 MB, free: 2.82 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1194, allocations: 3.938 kB / 473.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02435/0.1438, allocations: 2.497 MB / 476.2 MB, free: 376 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.469/7.613, allocations: 15.66 kB / 476.2 MB, free: 364 kB / 302.1 MB (rm -f HanserModelica_HanserModelica.Electrical.Signals.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Signals.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Signals.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Signals.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.Electrical.Signals_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 HanserModelica_HanserModelica_Electrical_Signals.fmu > HanserModelica_HanserModelica.Electrical.Signals.pipe 2>&1)