Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test8.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.Test8,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test8,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005728/0.005728, allocations: 1.367 MB / 16.64 MB, free: 5.168 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.751e-05/1.778e-05, allocations: 3.984 kB / 23.81 MB, free: 3.656 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006499/0.000692, allocations: 363.5 kB / 24.16 MB, free: 3.316 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test8): time 0.001503/0.002209, allocations: 1.527 MB / 25.69 MB, free: 1.789 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.004009, allocations: 0.884 MB / 26.57 MB, free: 0.9062 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005112/0.004538, allocations: 7.938 kB / 26.58 MB, free: 0.8984 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0003522/0.004902, allocations: 111.2 kB / 26.69 MB, free: 0.7891 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.001235/0.00615, allocations: 320.2 kB / 27 MB, free: 488 kB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.006404, allocations: 55.95 kB / 27.06 MB, free: 432 kB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0007785/0.007196, allocations: 0.5837 MB / 27.64 MB, free: 4.48 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004491/0.007656, allocations: 298.5 kB / 27.93 MB, free: 4.176 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004134/0.008079, allocations: 222.6 kB / 28.15 MB, free: 3.957 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004582/0.008548, allocations: 258.2 kB / 28.4 MB, free: 3.703 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.008677, allocations: 20 kB / 28.42 MB, free: 3.684 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005278/0.009212, allocations: 223.6 kB / 28.64 MB, free: 3.465 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0002234/0.009445, allocations: 151.3 kB / 28.79 MB, free: 3.316 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.000392/0.009845, allocations: 283.8 kB / 29.06 MB, free: 3.031 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.011, allocations: 0.7827 MB / 29.85 MB, free: 2.246 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.01102, allocations: 0 / 29.85 MB, free: 2.246 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.543e-06/0.01103, allocations: 0 / 29.85 MB, free: 2.246 MB / 18.57 MB Notification: Performance of Transformations before backend: time 3.25e-05/0.01106, allocations: 0 / 29.85 MB, free: 2.246 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.001494/0.01257, allocations: 0.8417 MB / 30.69 MB, free: 1.344 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 6.077e-05/0.01264, allocations: 16.95 kB / 30.7 MB, free: 1.328 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003133/0.01296, allocations: 143.6 kB / 30.84 MB, free: 1.18 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001986/0.01317, allocations: 80 kB / 30.92 MB, free: 1.102 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006459/0.01382, allocations: 431.9 kB / 31.34 MB, free: 0.6406 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-05/0.01391, allocations: 66.36 kB / 31.41 MB, free: 0.5742 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.01405, allocations: 88.36 kB / 31.49 MB, free: 500 kB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01245/0.02651, allocations: 1.218 MB / 32.71 MB, free: 7.035 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/0.02657, allocations: 2.281 kB / 32.71 MB, free: 7.035 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.271e-05/0.02666, allocations: 39.53 kB / 32.75 MB, free: 7.035 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001242/0.02679, allocations: 75.41 kB / 32.83 MB, free: 7.035 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.02825, allocations: 0.8715 MB / 33.7 MB, free: 6.855 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003441/0.03171, allocations: 2.565 MB / 36.26 MB, free: 4.445 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008601/0.0326, allocations: 0.6425 MB / 36.91 MB, free: 3.758 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004621/0.03308, allocations: 345.7 kB / 37.24 MB, free: 3.418 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004393/0.03354, allocations: 0.6021 MB / 37.85 MB, free: 2.691 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.03359, allocations: 34.86 kB / 37.88 MB, free: 2.648 MB / 18.57 MB Notification: Performance of pre-optimization done (n=41): time 5.971e-06/0.03361, allocations: 0 / 37.88 MB, free: 2.648 MB / 18.57 MB Notification: Performance of matching and sorting (n=41): time 0.001633/0.03525, allocations: 1.004 MB / 38.88 MB, free: 1.633 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/0.0354, allocations: 216.1 kB / 39.1 MB, free: 1.379 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003574/0.03577, allocations: 314.3 kB / 39.4 MB, free: 1.062 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 4.814e-05/0.03583, allocations: 46.78 kB / 39.45 MB, free: 1.012 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.000252/0.03609, allocations: 336.6 kB / 39.78 MB, free: 0.6875 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.03623, allocations: 139 kB / 39.91 MB, free: 0.5547 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/0.03627, allocations: 12 kB / 39.92 MB, free: 0.543 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.03641, allocations: 346.8 kB / 40.26 MB, free: 200 kB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01032/0.04674, allocations: 299.5 kB / 40.56 MB, free: 5.902 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000709/0.04748, allocations: 454.8 kB / 41 MB, free: 5.738 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009995/0.0485, allocations: 0.7713 MB / 41.77 MB, free: 5.473 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.04853, allocations: 0 / 41.77 MB, free: 5.473 MB / 18.57 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001496/0.05003, allocations: 0.985 MB / 42.76 MB, free: 5.289 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 7.384e-05/0.05012, allocations: 83.7 kB / 42.84 MB, free: 5.215 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.05015, allocations: 4.188 kB / 42.84 MB, free: 5.215 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.314e-05/0.05019, allocations: 11.55 kB / 42.85 MB, free: 5.215 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/0.05048, allocations: 93.98 kB / 42.94 MB, free: 5.203 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.968e-05/0.05051, allocations: 6.938 kB / 42.95 MB, free: 5.203 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003032/0.05082, allocations: 89.5 kB / 43.04 MB, free: 5.195 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-05/0.0509, allocations: 33.39 kB / 43.07 MB, free: 5.191 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.P1.fireOut[1],$PRE.P1.fireOut[2],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,$PRE.P3.fireIn[1],P3.feeding,P1.outTransition[2].arcType,P1.outTransition[1].arcType,P1.fireOut[1],P1.fireOut[2],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],T1.activation.arcType[1],T2.activation.arcType[1],T2.activation.emptied[1],T1.activation.emptied[1],T1.activation.fed[1],T2.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 60 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004867/0.05139, allocations: 396.6 kB / 43.46 MB, free: 4.883 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.657e-05/0.05148, allocations: 36.09 kB / 43.49 MB, free: 4.863 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/0.0527, allocations: 0.8745 MB / 44.37 MB, free: 4.047 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.674e-05/0.05274, allocations: 9.125 kB / 44.38 MB, free: 4.039 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.05275, allocations: 0 / 44.38 MB, free: 4.039 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.05277, allocations: 7.984 kB / 44.39 MB, free: 4.031 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001789/0.05456, allocations: 1.535 MB / 45.92 MB, free: 2.457 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.05458, allocations: 1.531 kB / 45.92 MB, free: 2.457 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002137/0.0548, allocations: 59.91 kB / 45.98 MB, free: 2.398 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.05481, allocations: 0 / 45.98 MB, free: 2.398 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.845e-05/0.05486, allocations: 19.98 kB / 46 MB, free: 2.379 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.05487, allocations: 0 / 46 MB, free: 2.379 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.05487, allocations: 3.938 kB / 46 MB, free: 2.375 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.05635, allocations: 1.267 MB / 47.27 MB, free: 1.098 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 7.173e-05/0.05643, allocations: 119.2 kB / 47.39 MB, free: 0.9844 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.829e-05/0.05651, allocations: 27.22 kB / 47.41 MB, free: 0.9609 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.05673, allocations: 41.3 kB / 47.45 MB, free: 0.9219 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002322/0.05697, allocations: 123.8 kB / 47.57 MB, free: 0.8008 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.028e-05/0.05703, allocations: 19.98 kB / 47.59 MB, free: 0.7812 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.01033/0.06737, allocations: 198.9 kB / 47.79 MB, free: 5.488 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.222e-06/0.0674, allocations: 0 / 47.79 MB, free: 5.488 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0008579/0.06826, allocations: 241.7 kB / 48.02 MB, free: 5.484 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (P1.t_,P2.t_,P3.t_) * Number of discrete variables: 14 (P1.fireOut[1],P1.fireOut[2],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P3.feeding) * Number of discrete states: 10 (T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P1.fireOut[1],P1.fireOut[2],P2.fireIn[1],P3.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002198/0.07047, allocations: 1.911 MB / 49.94 MB, free: 4.762 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.07161, allocations: 0.9152 MB / 50.85 MB, free: 4.504 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.07163, allocations: 2.562 kB / 50.85 MB, free: 4.504 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0005184/0.07215, allocations: 0.4987 MB / 51.35 MB, free: 4.16 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.07255, allocations: 67.45 kB / 51.42 MB, free: 4.109 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01545/0.08802, allocations: 5.68 MB / 57.1 MB, free: 3.801 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004069/0.08847, allocations: 1.004 MB / 58.1 MB, free: 3.102 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0003898/0.08887, allocations: 198.7 kB / 58.3 MB, free: 3.098 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000277/0.08916, allocations: 237.7 kB / 58.53 MB, free: 3.09 MB / 18.57 MB Notification: Performance of SimCode: time 9.71e-07/0.08916, allocations: 3.75 kB / 58.53 MB, free: 3.09 MB / 18.57 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03368/0.1229, allocations: 10.56 MB / 69.09 MB, free: 8.902 MB / 24.77 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001553/0.1231, allocations: 155.8 kB / 69.24 MB, free: 8.652 MB / 24.77 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.452/2.575, allocations: 2.969 kB / 69.24 MB, free: 8.652 MB / 24.77 MB (rm -f ConPNlib_ConPNlib.Examples.Test8.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test8.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test8.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test8_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test8.fmu > ConPNlib_ConPNlib.Examples.Test8.pipe 2>&1)