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/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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.009895/0.009895, allocations: 167.1 kB / 15.13 MB, free: 6.02 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.07293/0.07293, allocations: 8.808 MB / 24.68 MB, free: 4.098 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.396/2.396, allocations: 223.2 MB / 250.8 MB, free: 6.523 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001188, allocations: 98.7 kB / 304.1 MB, free: 4 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006202/0.0006208, allocations: 16 kB / 367.3 MB, free: 4.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5643/0.565, allocations: 52.53 MB / 419.8 MB, free: 48 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.003075/0.5681, allocations: 1.845 MB / 421.6 MB, free: 46.67 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009518/0.5691, allocations: 469.2 kB / 422.1 MB, free: 46.35 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003037/0.5694, allocations: 10.06 kB / 422.1 MB, free: 46.35 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001496/0.5696, allocations: 20.78 kB / 422.1 MB, free: 46.34 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 7.927e-05/0.5697, allocations: 29.42 kB / 422.1 MB, free: 46.32 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.5699, allocations: 30.52 kB / 422.2 MB, free: 46.3 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002392/0.5701, allocations: 153.5 kB / 422.3 MB, free: 46.23 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/0.5703, allocations: 56.05 kB / 422.4 MB, free: 46.2 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.176e-05/0.5704, allocations: 46.58 kB / 422.4 MB, free: 46.18 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.5706, allocations: 53.16 kB / 422.5 MB, free: 46.16 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.5706, allocations: 6.594 kB / 422.5 MB, free: 46.16 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.289e-05/0.5707, allocations: 7.531 kB / 422.5 MB, free: 46.16 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.253e-05/0.5707, allocations: 30.48 kB / 422.5 MB, free: 46.14 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.04e-05/0.5708, allocations: 51.72 kB / 422.6 MB, free: 46.1 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.571, allocations: 115.2 kB / 422.7 MB, free: 46.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.571, allocations: 2.219 kB / 422.7 MB, free: 46.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.571, allocations: 0 / 422.7 MB, free: 46.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.571, allocations: 0 / 422.7 MB, free: 46.07 MB / 330.7 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.0007053/0.5717, allocations: 444.3 kB / 423.1 MB, free: 45.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.131e-05/0.5718, allocations: 9.25 kB / 423.1 MB, free: 45.66 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.056e-05/0.5719, allocations: 56.19 kB / 423.2 MB, free: 45.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.398e-05/0.572, allocations: 21.23 kB / 423.2 MB, free: 45.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003396/0.5723, allocations: 214.2 kB / 423.4 MB, free: 45.37 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.5724, allocations: 12.31 kB / 423.4 MB, free: 45.36 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.339e-05/0.5724, allocations: 14.09 kB / 423.4 MB, free: 45.36 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004772/0.5729, allocations: 164.3 kB / 423.6 MB, free: 45.26 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.5729, allocations: 0.8125 kB / 423.6 MB, free: 45.26 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.573, allocations: 6.25 kB / 423.6 MB, free: 45.26 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.573, allocations: 8.016 kB / 423.6 MB, free: 45.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002658/0.5733, allocations: 102.7 kB / 423.7 MB, free: 45.22 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.5744, allocations: 0.7331 MB / 424.4 MB, free: 44.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.5746, allocations: 82.08 kB / 424.5 MB, free: 44.55 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.508e-05/0.5747, allocations: 39.45 kB / 424.6 MB, free: 44.54 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.5747, allocations: 1.156 kB / 424.6 MB, free: 44.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.5748, allocations: 36.17 kB / 424.6 MB, free: 44.49 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.5748, allocations: 1.031 kB / 424.6 MB, free: 44.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003447/0.5751, allocations: 106.4 kB / 424.7 MB, free: 44.44 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.5752, allocations: 54.22 kB / 424.8 MB, free: 44.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.5753, allocations: 154.2 kB / 424.9 MB, free: 44.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.5754, allocations: 30.77 kB / 424.9 MB, free: 44.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.615e-05/0.5755, allocations: 136.9 kB / 425.1 MB, free: 44.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.5755, allocations: 28.91 kB / 425.1 MB, free: 44.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-06/0.5755, allocations: 5.406 kB / 425.1 MB, free: 44.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.218e-05/0.5756, allocations: 320.7 kB / 425.4 MB, free: 43.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.34e-05/0.5757, allocations: 35.48 kB / 425.5 MB, free: 43.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.685e-05/0.5758, allocations: 61.92 kB / 425.5 MB, free: 43.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.107e-05/0.5759, allocations: 34.08 kB / 425.6 MB, free: 43.67 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.5759, allocations: 1.094 kB / 425.6 MB, free: 43.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002568/0.5762, allocations: 139.2 kB / 425.7 MB, free: 43.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.5762, allocations: 8.297 kB / 425.7 MB, free: 43.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.5762, allocations: 0 / 425.7 MB, free: 43.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.5762, allocations: 3.062 kB / 425.7 MB, free: 43.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.5764, allocations: 28.58 kB / 425.7 MB, free: 43.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.5764, allocations: 2.531 kB / 425.7 MB, free: 43.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.564e-05/0.5765, allocations: 17.67 kB / 425.7 MB, free: 43.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.5765, allocations: 8.797 kB / 425.8 MB, free: 43.57 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.5766, allocations: 121.4 kB / 425.9 MB, free: 43.45 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/0.5767, allocations: 16.45 kB / 425.9 MB, free: 43.44 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.348e-05/0.5767, allocations: 13.14 kB / 425.9 MB, free: 43.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.5768, allocations: 1.797 kB / 425.9 MB, free: 43.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.5768, allocations: 0 / 425.9 MB, free: 43.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.5768, allocations: 1.344 kB / 425.9 MB, free: 43.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002826/0.5771, allocations: 215.4 kB / 426.1 MB, free: 43.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.5771, allocations: 4.891 kB / 426.1 MB, free: 43.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.5772, allocations: 22.16 kB / 426.1 MB, free: 43.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.5772, allocations: 3.953 kB / 426.1 MB, free: 43.21 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.5772, allocations: 5.5 kB / 426.2 MB, free: 43.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.5773, allocations: 0.6562 kB / 426.2 MB, free: 43.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5773, allocations: 1.438 kB / 426.2 MB, free: 43.21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.5776, allocations: 220.7 kB / 426.4 MB, free: 43.04 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.087e-05/0.5777, allocations: 87.59 kB / 426.5 MB, free: 42.94 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.5777, allocations: 9.953 kB / 426.5 MB, free: 42.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.5778, allocations: 6.578 kB / 426.5 MB, free: 42.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.5779, allocations: 8.953 kB / 426.5 MB, free: 42.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.5779, allocations: 6.547 kB / 426.5 MB, free: 42.92 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.578e-05/0.578, allocations: 114.4 kB / 426.6 MB, free: 42.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.578, allocations: 0 / 426.6 MB, free: 42.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002581/0.5783, allocations: 35.12 kB / 426.6 MB, free: 42.82 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005485/0.5788, allocations: 0.7412 MB / 427.4 MB, free: 42.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002533/0.5791, allocations: 79.55 kB / 427.5 MB, free: 42.11 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5791, allocations: 0 / 427.5 MB, free: 42.11 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.501e-05/0.5792, allocations: 29.97 kB / 427.5 MB, free: 42.1 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.5796, allocations: 23.28 kB / 427.5 MB, free: 42.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.5813, allocations: 0.905 MB / 428.4 MB, free: 41.48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.5815, allocations: 0.7155 MB / 429.1 MB, free: 40.78 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.398e-05/0.5815, allocations: 7.5 kB / 429.1 MB, free: 40.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.826e-05/0.5816, allocations: 40.95 kB / 429.2 MB, free: 40.74 MB / 330.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5816, allocations: 0 / 429.2 MB, free: 40.74 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0171/0.5987, allocations: 2.246 MB / 431.4 MB, free: 40.51 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/0.599, allocations: 168.7 kB / 431.6 MB, free: 40.27 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.86/3.459, allocations: 1.062 kB / 431.6 MB, free: 40.27 MB / 330.7 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Electrical_Signals_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Electrical_Signals.fmu > HanserModelica_HanserModelica.Electrical.Signals.pipe 2>&1)