Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 194 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 222.9 MB / 239.8 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7528/0.7528, allocations: 132.2 MB / 422.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 60.66 kB / 0.5012 GB, free: 4.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3462, allocations: 80.21 MB / 0.5795 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1614/0.5077, allocations: 164.7 MB / 0.7403 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01838/0.5261, allocations: 17.17 MB / 0.7571 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009845/0.5271, allocations: 27.81 kB / 0.7571 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.5284, allocations: 453.2 kB / 0.7575 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004581/0.533, allocations: 1.477 MB / 0.759 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00299/0.536, allocations: 1.227 MB / 0.7602 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002669/0.5387, allocations: 2.787 MB / 0.7629 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001951/0.5406, allocations: 1.833 MB / 0.7647 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004494/0.5452, allocations: 1.211 MB / 0.7659 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.5462, allocations: 1.011 MB / 0.7669 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000222/0.5464, allocations: 112 kB / 0.767 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002687/0.5491, allocations: 1.583 MB / 0.7685 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005496/0.5497, allocations: 0.693 MB / 0.7692 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009292/0.5506, allocations: 1.091 MB / 0.7703 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003337/0.554, allocations: 3.458 MB / 0.7736 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.554, allocations: 0 / 0.7736 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.82e-07/0.554, allocations: 0 / 0.7736 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.315e-05/0.554, allocations: 0 / 0.7736 GB, free: 10.29 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.004124/0.5581, allocations: 2.812 MB / 0.7764 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.5582, allocations: 8.031 kB / 0.7764 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000257/0.5585, allocations: 240.6 kB / 0.7766 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003758/0.5622, allocations: 0.5628 MB / 0.7772 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003461/0.5657, allocations: 3.366 MB / 0.7805 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.504e-05/0.5658, allocations: 131.2 kB / 0.7806 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001991/0.566, allocations: 164 kB / 0.7807 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003129/0.5691, allocations: 1.888 MB / 0.7826 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/0.5692, allocations: 0 / 0.7826 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001551/0.5693, allocations: 75.94 kB / 0.7826 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.865e-05/0.5694, allocations: 40 kB / 0.7827 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003358/0.5727, allocations: 2.065 MB / 0.7847 GB, free: 14.77 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008443/0.5812, allocations: 6.229 MB / 0.7908 GB, free: 8.27 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003031/0.5842, allocations: 2.032 MB / 0.7928 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001204/0.5855, allocations: 0.738 MB / 0.7935 GB, free: 5.422 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005556/0.586, allocations: 437.6 kB / 0.7939 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001624/0.5877, allocations: 0.9388 MB / 0.7948 GB, free: 3.961 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=137): time 2.996e-06/0.5877, allocations: 0 / 0.7948 GB, free: 3.961 MB / 0.6231 GB Notification: Performance of matching and sorting (n=137): time 0.00655/0.5942, allocations: 2.868 MB / 0.7976 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.012e-05/0.5943, allocations: 201.2 kB / 0.7978 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004085/0.5984, allocations: 4.056 MB / 0.8018 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001401/0.5986, allocations: 57.7 kB / 0.8018 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006694/0.5993, allocations: 0.8748 MB / 0.8027 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003566/0.5996, allocations: 453.3 kB / 0.8031 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003575/0.6, allocations: 230.8 kB / 0.8033 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.6001, allocations: 349.9 kB / 0.8037 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.6012, allocations: 0.5491 MB / 0.8042 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/0.6024, allocations: 0.7735 MB / 0.805 GB, free: 9.312 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002231/0.6046, allocations: 1.278 MB / 0.8062 GB, free: 8.02 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.6047, allocations: 7.938 kB / 0.8062 GB, free: 8.012 MB / 0.6387 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003708/0.6084, allocations: 1.717 MB / 0.8079 GB, free: 6.27 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.6084, allocations: 10.19 kB / 0.8079 GB, free: 6.262 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.6084, allocations: 0 / 0.8079 GB, free: 6.262 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/0.6094, allocations: 208.2 kB / 0.8081 GB, free: 6.043 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/0.611, allocations: 315.6 kB / 0.8084 GB, free: 5.734 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2254/0.8364, allocations: 6.797 MB / 0.815 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/0.8381, allocations: 165.1 kB / 0.8152 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.8382, allocations: 47.59 kB / 0.8153 GB, free: 214.1 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009219/0.8391, allocations: 476.9 kB / 0.8157 GB, free: 214 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003502/0.8395, allocations: 197.8 kB / 0.8159 GB, free: 214 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004428/0.8439, allocations: 2.051 MB / 0.8179 GB, free: 213.9 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/0.844, allocations: 16.2 kB / 0.8179 GB, free: 213.9 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.844, allocations: 5.625 kB / 0.8179 GB, free: 213.9 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.66e-05/0.844, allocations: 10.33 kB / 0.8179 GB, free: 213.9 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006645/0.8506, allocations: 3.947 MB / 0.8218 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.8507, allocations: 7.109 kB / 0.8218 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001544/0.8522, allocations: 314.4 kB / 0.8221 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009525/0.8532, allocations: 214.7 kB / 0.8223 GB, free: 212.3 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-05/0.8533, allocations: 41.39 kB / 0.8223 GB, free: 212.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004224/0.8575, allocations: 6.84 MB / 0.829 GB, free: 205.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.8575, allocations: 0.5 kB / 0.829 GB, free: 205.6 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003904/0.8614, allocations: 1.924 MB / 0.8309 GB, free: 204.8 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007632/0.8622, allocations: 0.4928 MB / 0.8314 GB, free: 204.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000221/0.8624, allocations: 26.12 kB / 0.8314 GB, free: 204.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/0.8637, allocations: 129.1 kB / 0.8315 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002484/0.864, allocations: 111.2 kB / 0.8316 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001407/0.8641, allocations: 65.83 kB / 0.8317 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002965/0.8671, allocations: 3.118 MB / 0.8347 GB, free: 203.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8671, allocations: 0 / 0.8347 GB, free: 203.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001728/0.8688, allocations: 0.6439 MB / 0.8354 GB, free: 203.3 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005261/0.8741, allocations: 3.123 MB / 0.8384 GB, free: 201.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003092/0.8772, allocations: 1.991 MB / 0.8404 GB, free: 200.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.8772, allocations: 5.531 kB / 0.8404 GB, free: 200.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001825/0.8791, allocations: 1.378 MB / 0.8417 GB, free: 200.1 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002213/0.8813, allocations: 0.4928 MB / 0.8422 GB, free: 200 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02858/0.9099, allocations: 23.02 MB / 0.8647 GB, free: 181.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/0.911, allocations: 1.522 MB / 0.8662 GB, free: 180.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00201/0.913, allocations: 0.5122 MB / 0.8667 GB, free: 179.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/0.9141, allocations: 0.8663 MB / 0.8675 GB, free: 178.7 MB / 0.6387 GB Notification: Performance of SimCode: time 7.51e-07/0.9141, allocations: 0 / 0.8675 GB, free: 178.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6444/1.558, allocations: 45.49 MB / 0.9119 GB, free: 133.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002507/1.559, allocations: 274.5 kB / 0.9122 GB, free: 133.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.12/4.679, allocations: 0 / 0.9122 GB, free: 133.4 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)