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.005605/0.005605, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03906/0.03906, allocations: 8.792 MB / 24.65 MB, free: 4.113 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.279/1.279, allocations: 223.2 MB / 250.7 MB, free: 4.852 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.0008809/0.0008809, allocations: 106.4 kB / 304 MB, free: 3.586 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.0003559, allocations: 8 kB / 367.2 MB, free: 6.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09848/0.09885, allocations: 52.56 MB / 419.7 MB, free: 2.102 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2658/0.3647, allocations: 80.05 MB / 499.8 MB, free: 12.35 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.365, allocations: 69.03 kB / 499.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007438/0.3724, allocations: 2.844 MB / 0.4909 GB, free: 9.508 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3725, allocations: 0.75 kB / 0.4909 GB, free: 9.508 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.3725, allocations: 8 kB / 0.4909 GB, free: 9.5 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.000526/0.373, allocations: 437.6 kB / 0.4913 GB, free: 9.035 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.3731, allocations: 8.562 kB / 0.4913 GB, free: 9.027 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.533e-05/0.3732, allocations: 58.95 kB / 0.4914 GB, free: 8.965 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/0.3732, allocations: 16.44 kB / 0.4914 GB, free: 8.949 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.3735, allocations: 206.8 kB / 0.4916 GB, free: 8.707 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.3735, allocations: 12 kB / 0.4916 GB, free: 8.695 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.3735, allocations: 19.98 kB / 0.4916 GB, free: 8.676 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002997/0.3738, allocations: 162.8 kB / 0.4918 GB, free: 8.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3738, allocations: 11.55 kB / 0.4918 GB, free: 8.492 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.3739, allocations: 4.75 kB / 0.4918 GB, free: 8.488 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.3739, allocations: 5.031 kB / 0.4918 GB, free: 8.484 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002134/0.3741, allocations: 88.8 kB / 0.4919 GB, free: 8.398 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000998/0.3751, allocations: 0.7462 MB / 0.4926 GB, free: 7.594 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.3753, allocations: 72.03 kB / 0.4927 GB, free: 7.516 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.245e-06/0.3753, allocations: 0 / 0.4927 GB, free: 7.516 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.3753, allocations: 32.22 kB / 0.4927 GB, free: 7.477 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 9.71e-07/0.3754, allocations: 0 / 0.4927 GB, free: 7.477 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002939/0.3757, allocations: 112 kB / 0.4928 GB, free: 7.363 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.3757, allocations: 59.94 kB / 0.4929 GB, free: 7.293 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.3758, allocations: 138.1 kB / 0.493 GB, free: 7.152 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.3759, allocations: 25.7 kB / 0.493 GB, free: 7.121 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.616e-05/0.3759, allocations: 140.2 kB / 0.4932 GB, free: 6.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.376, allocations: 27.64 kB / 0.4932 GB, free: 6.953 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.376, allocations: 4 kB / 0.4932 GB, free: 6.949 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.3761, allocations: 325 kB / 0.4935 GB, free: 6.625 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.063e-05/0.3762, allocations: 27.98 kB / 0.4935 GB, free: 6.598 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.354e-05/0.3763, allocations: 67.62 kB / 0.4936 GB, free: 6.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.749e-05/0.3764, allocations: 40.58 kB / 0.4936 GB, free: 6.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3764, allocations: 0.5625 kB / 0.4936 GB, free: 6.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002145/0.3766, allocations: 132 kB / 0.4938 GB, free: 6.348 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3766, allocations: 8.5 kB / 0.4938 GB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3766, allocations: 2.188 kB / 0.4938 GB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.3767, allocations: 0 / 0.4938 GB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.3768, allocations: 34.89 kB / 0.4938 GB, free: 6.309 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.3768, allocations: 3.938 kB / 0.4938 GB, free: 6.305 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.967e-05/0.3769, allocations: 14.25 kB / 0.4938 GB, free: 6.293 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.3769, allocations: 6.375 kB / 0.4938 GB, free: 6.289 MB / 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 () * 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 9.734e-05/0.377, allocations: 119.2 kB / 0.4939 GB, free: 6.164 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.3771, allocations: 16.3 kB / 0.494 GB, free: 6.148 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.3771, allocations: 20.7 kB / 0.494 GB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.3771, allocations: 1.562 kB / 0.494 GB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3771, allocations: 7.938 kB / 0.494 GB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3771, allocations: 0 / 0.494 GB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.3773, allocations: 213.6 kB / 0.4942 GB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3773, allocations: 1.281 kB / 0.4942 GB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.3775, allocations: 19.98 kB / 0.4942 GB, free: 5.844 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.3775, allocations: 5.922 kB / 0.4942 GB, free: 5.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.3775, allocations: 0 / 0.4942 GB, free: 5.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3775, allocations: 3.938 kB / 0.4942 GB, free: 5.836 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3775, allocations: 0 / 0.4942 GB, free: 5.836 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.3778, allocations: 219.2 kB / 0.4944 GB, free: 5.609 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.878e-05/0.3779, allocations: 95.61 kB / 0.4945 GB, free: 5.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.3779, allocations: 3.953 kB / 0.4945 GB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.619e-05/0.378, allocations: 8.172 kB / 0.4945 GB, free: 5.488 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.378, allocations: 8 kB / 0.4945 GB, free: 5.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.378, allocations: 4 kB / 0.4945 GB, free: 5.477 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.692e-05/0.3781, allocations: 112.1 kB / 0.4946 GB, free: 5.367 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3781, allocations: 0 / 0.4946 GB, free: 5.367 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002396/0.3784, allocations: 28 kB / 0.4947 GB, free: 5.34 MB / 362.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.0005292/0.3789, allocations: 0.7567 MB / 0.4954 GB, free: 4.559 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.3791, allocations: 72.94 kB / 0.4955 GB, free: 4.488 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3791, allocations: 0 / 0.4955 GB, free: 4.488 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.431e-05/0.3792, allocations: 36.23 kB / 0.4955 GB, free: 4.453 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.3794, allocations: 15.94 kB / 0.4955 GB, free: 4.438 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.381, allocations: 1.515 MB / 0.497 GB, free: 2.875 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.3813, allocations: 0.7158 MB / 0.4977 GB, free: 2.133 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.172e-05/0.3813, allocations: 13.62 kB / 0.4977 GB, free: 2.117 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.055e-05/0.3814, allocations: 43.42 kB / 0.4978 GB, free: 2.074 MB / 362.7 MB Notification: Performance of SimCode: time 1.653e-06/0.3814, allocations: 0 / 0.4978 GB, free: 2.074 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01223/0.3936, allocations: 2.235 MB / 0.4999 GB, free: 80 kB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001905/0.3939, allocations: 160.9 kB / 0.5001 GB, free: 15.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.45/1.844, allocations: 0 / 0.5001 GB, free: 15.84 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)