Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test3.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.Test3,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test3,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01267/0.01267, allocations: 1.367 MB / 16.33 MB, free: 5.34 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.537e-05/1.593e-05, allocations: 0 / 23.34 MB, free: 3.98 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0005985/0.0006358, allocations: 356.8 kB / 23.68 MB, free: 3.816 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test3): time 0.0007435/0.001388, allocations: 0.6844 MB / 24.37 MB, free: 3.277 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0007523/0.002151, allocations: 0.5449 MB / 24.91 MB, free: 2.734 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.162e-05/0.002253, allocations: 0 / 24.91 MB, free: 2.734 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.002392, allocations: 43.66 kB / 24.96 MB, free: 2.691 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0004212/0.002821, allocations: 181.4 kB / 25.13 MB, free: 2.516 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 6.336e-05/0.002895, allocations: 19.98 kB / 25.15 MB, free: 2.496 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.003081, allocations: 212.2 kB / 25.36 MB, free: 2.289 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.003221, allocations: 66.69 kB / 25.43 MB, free: 2.215 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 7.484e-05/0.003302, allocations: 83.56 kB / 25.51 MB, free: 2.133 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.003451, allocations: 75.5 kB / 25.58 MB, free: 2.059 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.003481, allocations: 8 kB / 25.59 MB, free: 2.051 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/0.00366, allocations: 127.8 kB / 25.71 MB, free: 1.926 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 4.208e-05/0.003711, allocations: 39.77 kB / 25.75 MB, free: 1.887 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 3.841e-05/0.003756, allocations: 45.64 kB / 25.8 MB, free: 1.836 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.003964, allocations: 219.6 kB / 26.01 MB, free: 1.621 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.003976, allocations: 4 kB / 26.01 MB, free: 1.617 MB / 13.93 MB Notification: Performance of FrontEnd: time 1.403e-06/0.003983, allocations: 0 / 26.01 MB, free: 1.617 MB / 13.93 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.003999, allocations: 0 / 26.01 MB, free: 1.617 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0005204/0.004524, allocations: 480.3 kB / 26.48 MB, free: 1.098 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.004572, allocations: 8.297 kB / 26.49 MB, free: 1.09 MB / 13.93 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.346e-05/0.004631, allocations: 70.64 kB / 26.56 MB, free: 1.012 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.09e-05/0.004688, allocations: 25.8 kB / 26.59 MB, free: 0.9883 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.004923, allocations: 235.9 kB / 26.82 MB, free: 0.7188 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.004958, allocations: 16.89 kB / 26.83 MB, free: 0.7031 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.719e-05/0.005001, allocations: 32.33 kB / 26.86 MB, free: 0.6719 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004901/0.005497, allocations: 340.7 kB / 27.2 MB, free: 332 kB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.005523, allocations: 176 / 27.2 MB, free: 332 kB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.005556, allocations: 15.94 kB / 27.21 MB, free: 316 kB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.481e-05/0.005597, allocations: 20.42 kB / 27.23 MB, free: 296 kB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003109/0.005913, allocations: 229.6 kB / 27.46 MB, free: 68 kB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.007134, allocations: 0.9089 MB / 28.37 MB, free: 3.723 MB / 18.59 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.007439, allocations: 141.6 kB / 28.5 MB, free: 3.578 MB / 18.59 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.00762, allocations: 96.81 kB / 28.6 MB, free: 3.48 MB / 18.59 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003654/0.007995, allocations: 429.5 kB / 29.02 MB, free: 2.969 MB / 18.59 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.00804, allocations: 37.56 kB / 29.05 MB, free: 2.926 MB / 18.59 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.008049, allocations: 4 kB / 29.06 MB, free: 2.922 MB / 18.59 MB Notification: Performance of matching and sorting (n=13): time 0.0006342/0.008688, allocations: 307 kB / 29.36 MB, free: 2.609 MB / 18.59 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.935e-05/0.008769, allocations: 110.8 kB / 29.47 MB, free: 2.477 MB / 18.59 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.008912, allocations: 154.3 kB / 29.62 MB, free: 2.312 MB / 18.59 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.008945, allocations: 37.62 kB / 29.65 MB, free: 2.27 MB / 18.59 MB Notification: Performance of collectInitialEqns (initialization): time 8.612e-05/0.009037, allocations: 144 kB / 29.79 MB, free: 2.125 MB / 18.59 MB Notification: Performance of collectInitialBindings (initialization): time 5.186e-05/0.009095, allocations: 43.36 kB / 29.84 MB, free: 2.082 MB / 18.59 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.127e-05/0.009112, allocations: 4 kB / 29.84 MB, free: 2.078 MB / 18.59 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.00924, allocations: 326.8 kB / 30.16 MB, free: 1.75 MB / 18.59 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.00939, allocations: 79.94 kB / 30.24 MB, free: 1.672 MB / 18.59 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.009572, allocations: 121.1 kB / 30.36 MB, free: 1.535 MB / 18.59 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.009749, allocations: 118.3 kB / 30.47 MB, free: 1.414 MB / 18.59 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.00976, allocations: 0 / 30.47 MB, free: 1.414 MB / 18.59 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004601/0.01023, allocations: 290.9 kB / 30.76 MB, free: 1.117 MB / 18.59 MB Notification: Performance of prepare postOptimizeDAE: time 4.489e-05/0.01028, allocations: 41.69 kB / 30.8 MB, free: 1.07 MB / 18.59 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.01029, allocations: 0 / 30.8 MB, free: 1.07 MB / 18.59 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.01032, allocations: 4 kB / 30.8 MB, free: 1.066 MB / 18.59 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.01045, allocations: 36.03 kB / 30.84 MB, free: 1.031 MB / 18.59 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.01047, allocations: 4.859 kB / 30.84 MB, free: 1.027 MB / 18.59 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.587e-05/0.01057, allocations: 23.83 kB / 30.86 MB, free: 1.004 MB / 18.59 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.0106, allocations: 8 kB / 30.87 MB, free: 0.9961 MB / 18.59 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.P1.fireIn[1],P1.feeding,T1.activation.active,T1.activation.weaklyOutputActiveVec[1],P1.fireIn[1],T1.activation.emptied[1],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 1 * 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.0002095/0.01082, allocations: 200.2 kB / 31.07 MB, free: 0.7852 MB / 18.59 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.827e-05/0.01086, allocations: 11.91 kB / 31.08 MB, free: 0.7734 MB / 18.59 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005869/0.01146, allocations: 328 kB / 31.4 MB, free: 440 kB / 18.59 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.01148, allocations: 0 / 31.4 MB, free: 440 kB / 18.59 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.01149, allocations: 0 / 31.4 MB, free: 440 kB / 18.59 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.0115, allocations: 0 / 31.4 MB, free: 440 kB / 18.59 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007015/0.01852, allocations: 0.6139 MB / 32.01 MB, free: 6.992 MB / 18.59 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.01855, allocations: 0 / 32.01 MB, free: 6.992 MB / 18.59 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.01866, allocations: 24.39 kB / 32.04 MB, free: 6.992 MB / 18.59 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.01867, allocations: 0.7812 kB / 32.04 MB, free: 6.992 MB / 18.59 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.0187, allocations: 7.984 kB / 32.05 MB, free: 6.992 MB / 18.59 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.0187, allocations: 2.812 kB / 32.05 MB, free: 6.992 MB / 18.59 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01871, allocations: 0 / 32.05 MB, free: 6.992 MB / 18.59 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005269/0.01924, allocations: 460.5 kB / 32.5 MB, free: 6.832 MB / 18.59 MB Notification: Performance of postOpt removeConstants (simulation): time 3.141e-05/0.01928, allocations: 88.94 kB / 32.59 MB, free: 6.738 MB / 18.59 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/0.01932, allocations: 6.828 kB / 32.59 MB, free: 6.738 MB / 18.59 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.01946, allocations: 14.12 kB / 32.61 MB, free: 6.738 MB / 18.59 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.763e-05/0.01956, allocations: 32.38 kB / 32.64 MB, free: 6.738 MB / 18.59 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.01959, allocations: 11.8 kB / 32.65 MB, free: 6.738 MB / 18.59 MB Notification: Performance of sorting global known variables: time 6.002e-05/0.01966, allocations: 113.1 kB / 32.76 MB, free: 6.664 MB / 18.59 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01966, allocations: 0 / 32.76 MB, free: 6.664 MB / 18.59 MB Notification: Performance of remove unused functions: time 0.0003886/0.02006, allocations: 88.98 kB / 32.85 MB, free: 6.66 MB / 18.59 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (P1.t_) * Number of discrete variables: 4 (T1.activation.active,T1.activation.weaklyOutputActiveVec[1],P1.fireIn[1],P1.feeding) * Number of discrete states: 3 (T1.activation.weaklyOutputActiveVec[1],T1.activation.active,P1.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 1 * 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.0007355/0.0208, allocations: 1.041 MB / 33.89 MB, free: 5.973 MB / 18.59 MB Notification: Performance of simCode: created initialization part: time 0.0003423/0.02115, allocations: 256.6 kB / 34.14 MB, free: 5.906 MB / 18.59 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.02116, allocations: 0 / 34.14 MB, free: 5.906 MB / 18.59 MB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.02132, allocations: 166.4 kB / 34.3 MB, free: 5.785 MB / 18.59 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.0216, allocations: 17.3 kB / 34.32 MB, free: 5.777 MB / 18.59 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.0231, allocations: 1.187 MB / 35.5 MB, free: 4.785 MB / 18.59 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/0.02328, allocations: 0.7663 MB / 36.27 MB, free: 4 MB / 18.59 MB Notification: Performance of simCode: alias equations: time 0.000218/0.02351, allocations: 78.27 kB / 36.35 MB, free: 3.93 MB / 18.59 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.02362, allocations: 78.58 kB / 36.42 MB, free: 3.898 MB / 18.59 MB Notification: Performance of SimCode: time 3.41e-07/0.02363, allocations: 0 / 36.42 MB, free: 3.898 MB / 18.59 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02152/0.04516, allocations: 4.085 MB / 40.51 MB, free: 5.918 MB / 18.59 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/0.04537, allocations: 146.1 kB / 40.65 MB, free: 5.68 MB / 18.59 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/1.637, allocations: 2.219 kB / 40.65 MB, free: 5.68 MB / 18.59 MB (rm -f ConPNlib_ConPNlib.Examples.Test3.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test3.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test3.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test3.fmu > ConPNlib_ConPNlib.Examples.Test3.pipe 2>&1)