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.001467/0.001467, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.06093/0.06093, allocations: 8.701 MB / 21.96 MB, free: 3.367 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 221.4 MB / 246 MB, free: 3.617 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.0008926/0.0008926, allocations: 87.05 kB / 299.1 MB, free: 3.004 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.456e-05/3.472e-05, allocations: 4 kB / 359.6 MB, free: 6.434 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2904, allocations: 52.54 MB / 412.2 MB, free: 22.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1066/0.3971, allocations: 79.99 MB / 492.1 MB, free: 6.445 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/0.3974, allocations: 71.95 kB / 492.2 MB, free: 6.375 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00759/0.405, allocations: 2.844 MB / 495.1 MB, free: 3.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.405, allocations: 0 / 495.1 MB, free: 3.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.525e-05/0.405, allocations: 8 kB / 495.1 MB, free: 3.512 MB / 362.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.0005285/0.4056, allocations: 430 kB / 495.5 MB, free: 3.047 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.4056, allocations: 8.031 kB / 495.5 MB, free: 3.039 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.374e-05/0.4057, allocations: 50.55 kB / 495.5 MB, free: 2.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.4058, allocations: 19.75 kB / 495.6 MB, free: 2.961 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.406, allocations: 204.5 kB / 495.8 MB, free: 2.723 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.406, allocations: 12 kB / 495.8 MB, free: 2.711 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.795e-05/0.4061, allocations: 16 kB / 495.8 MB, free: 2.695 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/0.4064, allocations: 160.6 kB / 495.9 MB, free: 2.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.4064, allocations: 3.953 kB / 496 MB, free: 2.516 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.4064, allocations: 8.438 kB / 496 MB, free: 2.508 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.4065, allocations: 4 kB / 496 MB, free: 2.504 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.4066, allocations: 76.78 kB / 496 MB, free: 2.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.4077, allocations: 0.7535 MB / 496.8 MB, free: 1.605 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.4078, allocations: 70.52 kB / 496.9 MB, free: 1.527 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.974e-05/0.4079, allocations: 28.86 kB / 496.9 MB, free: 1.496 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.4079, allocations: 4 kB / 496.9 MB, free: 1.492 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.4079, allocations: 34.56 kB / 496.9 MB, free: 1.449 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.4079, allocations: 0 / 496.9 MB, free: 1.449 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001978/0.4081, allocations: 73.73 kB / 497 MB, free: 1.371 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.4082, allocations: 55.41 kB / 497.1 MB, free: 1.305 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.4083, allocations: 139.1 kB / 497.2 MB, free: 1.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.4084, allocations: 29.64 kB / 497.2 MB, free: 1.125 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.518e-05/0.4085, allocations: 139.5 kB / 497.4 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.4085, allocations: 27.66 kB / 497.4 MB, free: 0.957 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.4085, allocations: 0 / 497.4 MB, free: 0.957 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.4086, allocations: 322.8 kB / 497.7 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.342e-05/0.4087, allocations: 20 kB / 497.7 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.271e-05/0.4088, allocations: 60.28 kB / 497.8 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.469e-05/0.4088, allocations: 28 kB / 497.8 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.4088, allocations: 3.953 kB / 497.8 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001715/0.409, allocations: 117.5 kB / 497.9 MB, free: 396 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.409, allocations: 4.094 kB / 497.9 MB, free: 392 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.4091, allocations: 3.938 kB / 497.9 MB, free: 388 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.4091, allocations: 7.938 kB / 497.9 MB, free: 380 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.4092, allocations: 28.11 kB / 498 MB, free: 352 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.4092, allocations: 8 kB / 498 MB, free: 344 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.619e-05/0.4093, allocations: 7.906 kB / 498 MB, free: 336 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.4093, allocations: 4 kB / 498 MB, free: 332 kB / 362.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 () * 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 8.428e-05/0.4094, allocations: 116.9 kB / 498.1 MB, free: 208 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.4095, allocations: 11.86 kB / 498.1 MB, free: 196 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.114e-05/0.4095, allocations: 12.61 kB / 498.1 MB, free: 188 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.4095, allocations: 4 kB / 498.1 MB, free: 184 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4095, allocations: 0 / 498.1 MB, free: 184 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.4095, allocations: 7.984 kB / 498.1 MB, free: 176 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.4098, allocations: 221.5 kB / 498.3 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.922e-06/0.4098, allocations: 8 kB / 498.4 MB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.4099, allocations: 19.94 kB / 498.4 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4099, allocations: 0 / 498.4 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.4099, allocations: 8 kB / 498.4 MB, free: 15.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.4099, allocations: 3.938 kB / 498.4 MB, free: 15.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4099, allocations: 0 / 498.4 MB, free: 15.87 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.4102, allocations: 195.5 kB / 498.6 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.232e-05/0.4102, allocations: 85.05 kB / 498.7 MB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.4103, allocations: 3.953 kB / 498.7 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.79e-05/0.4104, allocations: 12 kB / 498.7 MB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.4104, allocations: 3.984 kB / 498.7 MB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.4104, allocations: 4 kB / 498.7 MB, free: 15.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.388e-05/0.4105, allocations: 114.3 kB / 498.8 MB, free: 15.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4105, allocations: 4 kB / 498.8 MB, free: 15.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002292/0.4108, allocations: 35.91 kB / 498.8 MB, free: 15.39 MB / 378.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 () * 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.0004702/0.4112, allocations: 0.7242 MB / 499.6 MB, free: 14.63 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001374/0.4114, allocations: 63.92 kB / 499.6 MB, free: 14.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4114, allocations: 0 / 499.6 MB, free: 14.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.421e-05/0.4114, allocations: 16.31 kB / 499.6 MB, free: 14.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.4117, allocations: 24.12 kB / 499.7 MB, free: 14.53 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006521/0.4123, allocations: 292.9 kB / 499.9 MB, free: 14.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.4126, allocations: 0.7197 MB / 0.4889 GB, free: 13.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.34e-05/0.4127, allocations: 12.88 kB / 0.4889 GB, free: 13.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.05e-05/0.4128, allocations: 39.42 kB / 0.489 GB, free: 13.41 MB / 378.7 MB Notification: Performance of SimCode: time 4.81e-07/0.4128, allocations: 0 / 0.489 GB, free: 13.41 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01448/0.4273, allocations: 2.195 MB / 0.4911 GB, free: 11.32 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000276/0.4276, allocations: 130.2 kB / 0.4913 GB, free: 11.1 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.679/2.106, allocations: 6.25 kB / 0.4913 GB, free: 11.09 MB / 378.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)