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.01304/0.01304, allocations: 1.328 MB / 13.89 MB, free: 1.41 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.92e-05/1.934e-05, allocations: 0 / 19.33 MB, free: 2 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000865/0.0009158, allocations: 362.2 kB / 19.68 MB, free: 1.668 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.01878/0.01971, allocations: 3.401 MB / 23.08 MB, free: 2.832 MB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001677/0.01993, allocations: 42.73 kB / 23.13 MB, free: 2.828 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.01084/0.0308, allocations: 2.356 MB / 25.48 MB, free: 0.9961 MB / 13.93 MB Notification: Performance of FrontEnd: time 2.585e-06/0.03084, allocations: 0 / 25.48 MB, free: 0.9961 MB / 13.93 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.03087, allocations: 4 kB / 25.48 MB, free: 0.9922 MB / 13.93 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.0003809/0.03127, allocations: 366 kB / 25.84 MB, free: 0.5859 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.03134, allocations: 12.31 kB / 25.85 MB, free: 0.5742 MB / 13.93 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.711e-05/0.0314, allocations: 30.73 kB / 25.88 MB, free: 0.5352 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.03146, allocations: 2.891 kB / 25.89 MB, free: 0.5352 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.0317, allocations: 180.1 kB / 26.06 MB, free: 332 kB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.03174, allocations: 16.27 kB / 26.08 MB, free: 320 kB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.03178, allocations: 352 / 26.08 MB, free: 320 kB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.03198, allocations: 46.08 kB / 26.12 MB, free: 272 kB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.03201, allocations: 4.281 kB / 26.13 MB, free: 268 kB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.03204, allocations: 3.953 kB / 26.13 MB, free: 264 kB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.03206, allocations: 1.547 kB / 26.13 MB, free: 264 kB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.03219, allocations: 23.8 kB / 26.16 MB, free: 248 kB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007977/0.033, allocations: 365.7 kB / 26.51 MB, free: 4.484 MB / 18.58 MB Notification: Performance of preOpt comSubExp (simulation): time 8.901e-05/0.03312, allocations: 34.47 kB / 26.55 MB, free: 4.445 MB / 18.58 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.363e-05/0.03317, allocations: 4.859 kB / 26.55 MB, free: 4.438 MB / 18.58 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.0332, allocations: 0 / 26.55 MB, free: 4.438 MB / 18.58 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.03325, allocations: 41.81 kB / 26.59 MB, free: 4.391 MB / 18.58 MB Notification: Performance of pre-optimization done (n=2): time 5.039e-06/0.03327, allocations: 0 / 26.59 MB, free: 4.391 MB / 18.58 MB Notification: Performance of matching and sorting (n=2): time 0.0002396/0.03352, allocations: 70.81 kB / 26.66 MB, free: 4.312 MB / 18.58 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.372e-05/0.03362, allocations: 85.12 kB / 26.75 MB, free: 4.211 MB / 18.58 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.03378, allocations: 100.7 kB / 26.84 MB, free: 4.109 MB / 18.58 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.03383, allocations: 25.7 kB / 26.87 MB, free: 4.078 MB / 18.58 MB Notification: Performance of collectInitialEqns (initialization): time 7.431e-05/0.03392, allocations: 91.97 kB / 26.96 MB, free: 3.988 MB / 18.58 MB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.03396, allocations: 15.83 kB / 26.97 MB, free: 3.973 MB / 18.58 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.315e-06/0.03398, allocations: 0 / 26.97 MB, free: 3.973 MB / 18.58 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.03416, allocations: 314.8 kB / 27.28 MB, free: 3.66 MB / 18.58 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.519e-05/0.03422, allocations: 4 kB / 27.29 MB, free: 3.656 MB / 18.58 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.67e-05/0.03432, allocations: 33.58 kB / 27.32 MB, free: 3.621 MB / 18.58 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.116e-05/0.03442, allocations: 40.55 kB / 27.36 MB, free: 3.582 MB / 18.58 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.03444, allocations: 0 / 27.36 MB, free: 3.582 MB / 18.58 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002517/0.0347, allocations: 88.25 kB / 27.44 MB, free: 3.488 MB / 18.58 MB Notification: Performance of prepare postOptimizeDAE: time 4.772e-05/0.03477, allocations: 29.7 kB / 27.47 MB, free: 3.453 MB / 18.58 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.03479, allocations: 0 / 27.47 MB, free: 3.453 MB / 18.58 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.03483, allocations: 4 kB / 27.48 MB, free: 3.449 MB / 18.58 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.03497, allocations: 11.92 kB / 27.49 MB, free: 3.438 MB / 18.58 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/0.035, allocations: 8.062 kB / 27.5 MB, free: 3.43 MB / 18.58 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.066e-05/0.03511, allocations: 11.56 kB / 27.51 MB, free: 3.422 MB / 18.58 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.03516, allocations: 4 kB / 27.51 MB, free: 3.418 MB / 18.58 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 () * 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.0001313/0.0353, allocations: 127 kB / 27.64 MB, free: 3.281 MB / 18.58 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.688e-05/0.03538, allocations: 11.94 kB / 27.65 MB, free: 3.27 MB / 18.58 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/0.03543, allocations: 8.016 kB / 27.66 MB, free: 3.266 MB / 18.58 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.03545, allocations: 0 / 27.66 MB, free: 3.266 MB / 18.58 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.03547, allocations: 0 / 27.66 MB, free: 3.266 MB / 18.58 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.03549, allocations: 4.172 kB / 27.66 MB, free: 3.262 MB / 18.58 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002967/0.0358, allocations: 162.5 kB / 27.82 MB, free: 3.055 MB / 18.58 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.03584, allocations: 4 kB / 27.82 MB, free: 3.051 MB / 18.58 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.711e-05/0.03588, allocations: 4 kB / 27.83 MB, free: 3.047 MB / 18.58 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.0359, allocations: 3.984 kB / 27.83 MB, free: 3.043 MB / 18.58 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.03593, allocations: 3.953 kB / 27.83 MB, free: 3.039 MB / 18.58 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.03595, allocations: 0 / 27.83 MB, free: 3.039 MB / 18.58 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.03596, allocations: 0 / 27.83 MB, free: 3.039 MB / 18.58 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.03621, allocations: 172.8 kB / 28 MB, free: 2.852 MB / 18.58 MB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-05/0.0363, allocations: 81.09 kB / 28.08 MB, free: 2.754 MB / 18.58 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.03636, allocations: 8.031 kB / 28.09 MB, free: 2.746 MB / 18.58 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.03649, allocations: 11.89 kB / 28.1 MB, free: 2.734 MB / 18.58 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.287e-05/0.03654, allocations: 0 / 28.1 MB, free: 2.734 MB / 18.58 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.03656, allocations: 0 / 28.1 MB, free: 2.734 MB / 18.58 MB Notification: Performance of sorting global known variables: time 0.0001001/0.03667, allocations: 91.27 kB / 28.19 MB, free: 2.645 MB / 18.58 MB Notification: Performance of sort global known variables: time 6.21e-07/0.03669, allocations: 0 / 28.19 MB, free: 2.645 MB / 18.58 MB Notification: Performance of remove unused functions: time 0.0005467/0.03725, allocations: 19.56 kB / 28.21 MB, free: 2.629 MB / 18.58 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) * 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.0007028/0.03797, allocations: 0.7027 MB / 28.91 MB, free: 1.891 MB / 18.58 MB Notification: Performance of simCode: created initialization part: time 0.0002006/0.03819, allocations: 71.39 kB / 28.98 MB, free: 1.809 MB / 18.58 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.03821, allocations: 0 / 28.98 MB, free: 1.809 MB / 18.58 MB Notification: Performance of simCode: created simulation system equations: time 7.629e-05/0.0383, allocations: 63.41 kB / 29.04 MB, free: 1.734 MB / 18.58 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.03858, allocations: 3.953 kB / 29.05 MB, free: 1.73 MB / 18.58 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/0.04098, allocations: 317.5 kB / 29.36 MB, free: 1.391 MB / 18.58 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.04139, allocations: 0.6809 MB / 30.04 MB, free: 0.6836 MB / 18.58 MB Notification: Performance of simCode: alias equations: time 0.0001692/0.04158, allocations: 43.88 kB / 30.08 MB, free: 0.6406 MB / 18.58 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.71e-05/0.04169, allocations: 23.42 kB / 30.1 MB, free: 0.6172 MB / 18.58 MB Notification: Performance of SimCode: time 1.132e-06/0.04171, allocations: 3.938 kB / 30.11 MB, free: 0.6133 MB / 18.58 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03996/0.08168, allocations: 1.172 MB / 31.28 MB, free: 4.84 MB / 18.58 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/0.08196, allocations: 125.2 kB / 31.4 MB, free: 4.637 MB / 18.58 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.457/2.539, allocations: 0 / 31.4 MB, free: 4.637 MB / 18.58 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)