Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test1b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo", uses=false) Using package ConPNlib with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo) Running command: "" <> buildModelFMU(ConPNlib.Examples.Test1b,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test1b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test1b,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test1b",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01689/0.01689, allocations: 1.357 MB / 16.3 MB, free: 5.305 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.965e-05/1.959e-05, allocations: 0 / 23.32 MB, free: 3.973 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0008299/0.0009016, allocations: 359.2 kB / 23.67 MB, free: 3.812 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.005264/0.006187, allocations: 3.495 MB / 27.17 MB, free: 444 kB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001578/0.006403, allocations: 51.98 kB / 27.22 MB, free: 392 kB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.008776/0.01519, allocations: 2.356 MB / 29.58 MB, free: 2.676 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.774e-06/0.01524, allocations: 0 / 29.58 MB, free: 2.676 MB / 18.57 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.01527, allocations: 8.062 kB / 29.58 MB, free: 2.668 MB / 18.57 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004524/0.01573, allocations: 373.3 kB / 29.95 MB, free: 2.25 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.01579, allocations: 12.23 kB / 29.96 MB, free: 2.238 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.33e-05/0.01584, allocations: 34.73 kB / 29.99 MB, free: 2.195 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.01588, allocations: 4.766 kB / 30 MB, free: 2.191 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.01614, allocations: 180.2 kB / 30.18 MB, free: 1.977 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.01616, allocations: 352 / 30.18 MB, free: 1.977 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.01619, allocations: 8.328 kB / 30.18 MB, free: 1.969 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.01634, allocations: 46.2 kB / 30.23 MB, free: 1.918 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.01636, allocations: 4.344 kB / 30.23 MB, free: 1.914 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.01638, allocations: 7.953 kB / 30.24 MB, free: 1.906 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.0164, allocations: 4 kB / 30.24 MB, free: 1.902 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9e-05/0.0165, allocations: 27.92 kB / 30.27 MB, free: 1.875 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006965/0.01721, allocations: 366 kB / 30.63 MB, free: 1.449 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 7.73e-05/0.0173, allocations: 34.52 kB / 30.66 MB, free: 1.406 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 7.194e-06/0.01733, allocations: 4 kB / 30.67 MB, free: 1.402 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.01737, allocations: 34.55 kB / 30.7 MB, free: 1.359 MB / 18.57 MB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.01738, allocations: 3.938 kB / 30.7 MB, free: 1.355 MB / 18.57 MB Notification: Performance of matching and sorting (n=2): time 0.0002111/0.01759, allocations: 71.41 kB / 30.77 MB, free: 1.273 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.01767, allocations: 77.11 kB / 30.85 MB, free: 1.18 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.01779, allocations: 109 kB / 30.96 MB, free: 1.066 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.01782, allocations: 29.7 kB / 30.98 MB, free: 1.031 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 6.751e-05/0.0179, allocations: 100 kB / 31.08 MB, free: 0.9297 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 1.285e-05/0.01792, allocations: 7.906 kB / 31.09 MB, free: 0.9219 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-06/0.01794, allocations: 0 / 31.09 MB, free: 0.9219 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.01809, allocations: 314.8 kB / 31.4 MB, free: 0.6055 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.52e-05/0.01813, allocations: 7.984 kB / 31.41 MB, free: 0.5977 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.357e-05/0.01819, allocations: 21.72 kB / 31.43 MB, free: 0.5703 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.309e-05/0.01827, allocations: 37.69 kB / 31.46 MB, free: 0.5273 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01828, allocations: 0 / 31.46 MB, free: 0.5273 MB / 18.57 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001804/0.01847, allocations: 91.33 kB / 31.55 MB, free: 436 kB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 4.408e-05/0.01853, allocations: 38.88 kB / 31.59 MB, free: 392 kB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.01855, allocations: 0 / 31.59 MB, free: 392 kB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.01858, allocations: 3.984 kB / 31.59 MB, free: 388 kB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.01869, allocations: 8 kB / 31.6 MB, free: 380 kB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.0187, allocations: 0 / 31.6 MB, free: 380 kB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.97e-05/0.01877, allocations: 4 kB / 31.61 MB, free: 376 kB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.01881, allocations: 3.984 kB / 31.61 MB, free: 372 kB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (T1.activation.active) * 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: 1 * 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.0001179/0.01893, allocations: 144.1 kB / 31.75 MB, free: 212 kB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.77e-05/0.01898, allocations: 11.94 kB / 31.76 MB, free: 200 kB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.01902, allocations: 7.844 kB / 31.77 MB, free: 188 kB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01903, allocations: 0 / 31.77 MB, free: 188 kB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.01904, allocations: 0 / 31.77 MB, free: 188 kB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.01905, allocations: 0 / 31.77 MB, free: 188 kB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01212/0.03119, allocations: 168.7 kB / 31.94 MB, free: 6.215 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.03124, allocations: 0 / 31.94 MB, free: 6.215 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.281e-05/0.03129, allocations: 0 / 31.94 MB, free: 6.215 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-06/0.03131, allocations: 0 / 31.94 MB, free: 6.215 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.03133, allocations: 0.9688 kB / 31.94 MB, free: 6.215 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.03135, allocations: 3.781 kB / 31.94 MB, free: 6.215 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.03136, allocations: 0.5 kB / 31.94 MB, free: 6.215 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.03157, allocations: 165.2 kB / 32.1 MB, free: 6.055 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 3.701e-05/0.03162, allocations: 81.64 kB / 32.18 MB, free: 5.961 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.03165, allocations: 9.078 kB / 32.19 MB, free: 5.961 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.499e-05/0.03174, allocations: 3.438 kB / 32.19 MB, free: 5.961 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/0.03177, allocations: 2.094 kB / 32.2 MB, free: 5.961 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.03179, allocations: 2.656 kB / 32.2 MB, free: 5.961 MB / 18.57 MB Notification: Performance of sorting global known variables: time 5.644e-05/0.03185, allocations: 89.52 kB / 32.29 MB, free: 5.887 MB / 18.57 MB Notification: Performance of sort global known variables: time 3.8e-07/0.03186, allocations: 0 / 32.29 MB, free: 5.887 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0003268/0.0322, allocations: 13.06 kB / 32.3 MB, free: 5.887 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (T1.activation.active) * Number of discrete states: 1 (T1.activation.active) * 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: 1 * 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.0003936/0.0326, allocations: 0.7178 MB / 33.02 MB, free: 5.203 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0001468/0.03276, allocations: 80.81 kB / 33.09 MB, free: 5.141 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.03278, allocations: 0 / 33.09 MB, free: 5.141 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 3.659e-05/0.03283, allocations: 57.45 kB / 33.15 MB, free: 5.078 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/0.033, allocations: 10.53 kB / 33.16 MB, free: 5.078 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.03489, allocations: 0.7491 MB / 33.91 MB, free: 4.609 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.03505, allocations: 0.6802 MB / 34.59 MB, free: 3.914 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.03516, allocations: 36.92 kB / 34.63 MB, free: 3.914 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.596e-05/0.03523, allocations: 24.91 kB / 34.65 MB, free: 3.906 MB / 18.57 MB Notification: Performance of SimCode: time 1.001e-06/0.03524, allocations: 0 / 34.65 MB, free: 3.906 MB / 18.57 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01869/0.05394, allocations: 1.178 MB / 35.83 MB, free: 3.703 MB / 18.57 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002357/0.05424, allocations: 147.1 kB / 35.97 MB, free: 3.457 MB / 18.57 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.194/2.248, allocations: 0 / 35.97 MB, free: 3.457 MB / 18.57 MB (rm -f ConPNlib_ConPNlib.Examples.Test1b.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test1b.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test1b.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test1b.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test1b_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test1b.fmu > ConPNlib_ConPNlib.Examples.Test1b.pipe 2>&1)